Skip to content

Commit

Permalink
clean up testCreateOnParent test
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgranberg committed Jul 23, 2020
1 parent 2b007f0 commit f4dcd26
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -34,7 +34,7 @@ public function testCreateOnParent()

$propertyNameCollectionFactory = $this->prophesize(PropertyNameCollectionFactoryInterface::class);
$propertyNameCollectionFactory->create(DummyTableInheritance::class, [])->willReturn(new PropertyNameCollection(['name']))->shouldBeCalled();
$propertyNameCollectionFactory->create(DummyTableInheritanceChild::class, [])->willReturn(new PropertyNameCollection(['nickname', '169']));
$propertyNameCollectionFactory->create(DummyTableInheritanceChild::class, [])->shouldNotBeCalled();

$factory = new InheritedPropertyNameCollectionFactory($resourceNameCollectionFactory->reveal(), $propertyNameCollectionFactory->reveal());
$metadata = $factory->create(DummyTableInheritance::class);
Expand Down

0 comments on commit f4dcd26

Please sign in to comment.