We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ef55b1 commit 001b38cCopy full SHA for 001b38c
Tests/Functional/DependencyInjection/FOSElasticaExtensionTest.php
@@ -30,7 +30,10 @@ public function shouldAddParentParamToObjectPersisterCall()
30
31
$persisterCallDefinition = $containerBuilder->getDefinition('fos_elastica.object_persister.test_index.child_field');
32
33
- $this->assertArrayHasKey('_parent', $persisterCallDefinition->getArguments()['index_3']);
+ $arguments = $persisterCallDefinition->getArguments()['index_3'];
34
+
35
+ $this->assertArrayHasKey('_parent', $arguments);
36
+ $this->assertEquals('parent_field', $arguments['_parent']['type']);
37
}
38
39
0 commit comments