Skip to content

Commit

Permalink
test: fix filteringRequestBody not executed
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Aug 24, 2019
1 parent ae8a458 commit e928920
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/backchannel_logout/backchannel_logout.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('Back-Channel Logout 1.0', () => {
expect(decoded).to.have.property('sub', 'subject');
expect(decoded).to.have.property('sid', 'foo');
})
.post('/backchannel_logout')
.post('/backchannel_logout', () => true)
.reply(200);

return client.backchannelLogout('subject', 'foo');
Expand All @@ -51,7 +51,7 @@ describe('Back-Channel Logout 1.0', () => {
.filteringRequestBody((body) => {
expect(body).to.match(/^logout_token=(([\w-]+\.?){3})&foo=bar$/);
})
.post('/backchannel_logout')
.post('/backchannel_logout', () => true)
.reply(200);

return client.backchannelLogout('subject', 'foo').then(() => {
Expand All @@ -72,7 +72,7 @@ describe('Back-Channel Logout 1.0', () => {
expect(decoded).to.have.property('sub', 'subject');
expect(decoded).not.to.have.property('sid');
})
.post('/backchannel_logout')
.post('/backchannel_logout', () => true)
.reply(200);

return client.backchannelLogout('subject', 'foo');
Expand Down

0 comments on commit e928920

Please sign in to comment.