diff --git a/tests/Mapper/Builder/OptionsBuilderTest.php b/tests/Mapper/Builder/OptionsBuilderTest.php index 349ab624..349196f3 100644 --- a/tests/Mapper/Builder/OptionsBuilderTest.php +++ b/tests/Mapper/Builder/OptionsBuilderTest.php @@ -141,16 +141,18 @@ public function testAddJoin(): void static::assertSame([ 'fieldName' => 'groups', 'targetEntity' => 'App\Entity\Group', - 'joinColumns' => [[ - 'name' => 'parent_id', - 'referencedColumnName' => 'id', - 'onDelete' => 'CASCADE', + 'joinColumns' => [ + [ + 'name' => 'parent_id', + 'referencedColumnName' => 'id', + 'onDelete' => 'CASCADE', + ], + [ + 'name' => 'another_parent_id', + 'referencedColumnName' => 'id', + 'onDelete' => 'CASCADE', + ], ], - [ - 'name' => 'another_parent_id', - 'referencedColumnName' => 'id', - 'onDelete' => 'CASCADE', - ], ], ], $builder->getOptions()); }