Skip to content

Commit b8ca845

Browse files
committed
test: fix error normalizer tests
1 parent fc35cef commit b8ca845

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/JsonApi/Serializer/ErrorNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testSupportsNormalization(): void
4646
], $normalizer->getSupportedTypes($normalizer::FORMAT));
4747

4848
if (!method_exists(Serializer::class, 'getSupportedTypes')) {
49-
$this->assertTrue($normalizer->hasCacheableSupportsMethod());
49+
$this->assertFalse($normalizer->hasCacheableSupportsMethod());
5050
}
5151
}
5252

tests/Problem/Serializer/ErrorNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function testSupportNormalization(): void
4545
], $normalizer->getSupportedTypes($normalizer::FORMAT));
4646

4747
if (!method_exists(Serializer::class, 'getSupportedTypes')) {
48-
$this->assertTrue($normalizer->hasCacheableSupportsMethod());
48+
$this->assertFalse($normalizer->hasCacheableSupportsMethod());
4949
}
5050
}
5151

0 commit comments

Comments
 (0)