Skip to content

Commit

Permalink
update xsrf integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
legrego committed Oct 21, 2019
1 parent dba58c8 commit d798473
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/legacy/server/http/integration_tests/xsrf.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ describe('xsrf request filter', () => {
// Disable payload parsing to make HapiJS server accept any content-type header.
payload: {
parse: false
}
},
validate: { payload: null }
},
handler: async function () {
return 'ok';
Expand All @@ -71,7 +72,8 @@ describe('xsrf request filter', () => {
// Disable payload parsing to make HapiJS server accept any content-type header.
payload: {
parse: false
}
},
validate: { payload: null }
},
handler: async function () {
return 'ok';
Expand Down

0 comments on commit d798473

Please sign in to comment.