Skip to content

Commit 512b075

Browse files
committed
fix tests for post_logout_redirect_uri
1 parent fdd1284 commit 512b075

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/unit/SignoutRequest.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ describe("SignoutRequest", function() {
5353
subject.url.should.contain("post_logout_redirect_uri=loggedout");
5454
});
5555

56-
it("should not include post_logout_redirect_uri if no id_token_hint provided", function() {
56+
it("should include post_logout_redirect_uri if no id_token_hint provided", function() {
5757

5858
delete settings.id_token_hint;
5959
subject = new SignoutRequest(settings);
6060

61-
subject.url.should.not.contain("post_logout_redirect_uri=loggedout");
61+
subject.url.should.contain("post_logout_redirect_uri=loggedout");
6262
});
6363

6464
it("should include state if post_logout_redirect_uri provided", function() {

0 commit comments

Comments
 (0)