Skip to content

Commit fa2cf88

Browse files
committed
test: update test for #5201
1 parent 7b7dcf2 commit fa2cf88

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

tests/Serializer/ItemNormalizerTest.php

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public function testDenormalizeWithDefinedIri(): void
218218
$propertyMetadataFactoryProphecy->create(Dummy::class, 'name', [])->willReturn($propertyMetadata);
219219

220220
$iriConverterProphecy = $this->prophesize(IriConverterInterface::class);
221-
$iriConverterProphecy->getIriFromItem($dummy)->shouldNotBeCalled();
221+
$iriConverterProphecy->getIriFromResource($dummy)->shouldNotBeCalled();
222222

223223
$resourceClassResolverProphecy = $this->prophesize(ResourceClassResolverInterface::class);
224224
$resourceClassResolverProphecy->getResourceClass($dummy, null)->willReturn(Dummy::class);
@@ -233,15 +233,7 @@ public function testDenormalizeWithDefinedIri(): void
233233
$propertyNameCollectionFactoryProphecy->reveal(),
234234
$propertyMetadataFactoryProphecy->reveal(),
235235
$iriConverterProphecy->reveal(),
236-
$resourceClassResolverProphecy->reveal(),
237-
null,
238-
null,
239-
null,
240-
null,
241-
false,
242-
null,
243-
[],
244-
null
236+
$resourceClassResolverProphecy->reveal()
245237
);
246238
$normalizer->setSerializer($serializerProphecy->reveal());
247239

0 commit comments

Comments
 (0)