Fixed some serializer deprecations

This commit is contained in:
Jan Böhmer 2023-06-11 18:12:22 +02:00
parent 219b57a362
commit e57d6e508a
7 changed files with 51 additions and 27 deletions

View file

@ -37,11 +37,6 @@ class StructuralElementDenormalizerTest extends WebTestCase
$this->service = self::getContainer()->get(StructuralElementDenormalizer::class);
}
public function testHasCacheableSupportsMethod(): void
{
$this->assertFalse($this->service->hasCacheableSupportsMethod());
}
public function testSupportsDenormalization(): void
{
$this->assertFalse($this->service->supportsDenormalization('doesnt_matter', Category::class, 'json', ['groups' => ['import']]));