Skip to content

Commit 630eb82

Browse files
committed
Fix renamed relationship test expectations
1 parent dbcde7a commit 630eb82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/Adapter/Scopes/Relationships/OneToOneTests.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,11 +1059,11 @@ public function testIdenticalTwoWayKeyRelationship(): void
10591059
$attributes = $collection->getAttribute('attributes', []);
10601060
foreach ($attributes as $attribute) {
10611061
if ($attribute['key'] === 'child1') {
1062-
$this->assertEquals('parent', $attribute['options']['twoWayKey']);
1062+
$this->assertEquals('identical-parent', $attribute['options']['twoWayKey']);
10631063
}
10641064

10651065
if ($attribute['key'] === 'children') {
1066-
$this->assertEquals('parent', $attribute['options']['twoWayKey']);
1066+
$this->assertEquals('identical-parent', $attribute['options']['twoWayKey']);
10671067
}
10681068

10691069
if ($attribute['key'] === 'childrenById') {

0 commit comments

Comments
 (0)