Skip to content

Commit 25a4852

Browse files
committed
test(serializer): missing key in cache key
1 parent bb3aa7d commit 25a4852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Serializer/Tests/AbstractItemNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1836,7 +1836,7 @@ public function testCacheKey(): void
18361836

18371837
$operationCacheKey = (new \ReflectionClass($normalizer))->getProperty('localFactoryOptionsCache')->getValue($normalizer);
18381838
$this->assertEquals(array_keys($operationCacheKey), [\sprintf('%s%s%s%s', Dummy::class, 'operation_name', 'root_operation_name', 'n')]);
1839-
$this->assertEquals(current($operationCacheKey), ['serializer_groups' => ['group']]);
1839+
$this->assertEquals(current($operationCacheKey), ['serializer_groups' => ['group'], 'api_allow_update' => false]);
18401840
}
18411841
}
18421842

0 commit comments

Comments
 (0)