Skip to content

Commit d5f60e2

Browse files
authored
fix(test): change string to int for status in JsonApiTest::testError (#7631)
1 parent 34f3f1c commit d5f60e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Functional/JsonApiTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ public function testError(): void
4343
$this->assertJsonContains([
4444
'errors' => [
4545
[
46-
'status' => '400',
46+
// TODO: change this to '400' in 5.x
47+
'status' => 400,
4748
'detail' => 'Resource "nonexistent" not found.',
4849
],
4950
],

0 commit comments

Comments
 (0)