Skip to content

Commit 31736b5

Browse files
committed
Update reason message and use newly-available response.status code
1 parent e0b9d09 commit 31736b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/integration-testsuite/src/httpSpecTests.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ export function defineIntegrationTestSuiteHttpSpecTests(
6262
if (
6363
audit.name.startsWith('SHOULD use 200 status code') &&
6464
audit.name.endsWith('when accepting application/json') &&
65-
result.reason === 'Status code 400 is not 200'
65+
result.reason === 'Response status code is not 200' &&
66+
result.response.status === 400
6667
) {
6768
return;
6869
}

0 commit comments

Comments
 (0)