Skip to content

Commit 65508b0

Browse files
committed
blurgh
1 parent 715afed commit 65508b0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/kit/test/apps/basics/test/server.test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ test.describe('Content-Type', () => {
2626
test.describe('CSRF', () => {
2727
test('Blocks requests with incorrect origin', async ({ baseURL }) => {
2828
const res = await fetch(`${baseURL}/csrf`, {
29-
method: 'POST'
29+
method: 'POST',
30+
headers: {
31+
'content-type': 'application/x-www-form-urlencoded'
32+
}
3033
});
3134

3235
expect(res.status).toBe(403);

0 commit comments

Comments
 (0)