Skip to content

Commit 8ad4cc2

Browse files
committed
fix test again
1 parent 17b92df commit 8ad4cc2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,13 +456,13 @@ public function testOneToOneOneWayRelationshipRejectsChildSideWrites(): void
456456
);
457457

458458
try {
459-
$database->createDocument('parent', new Document([
459+
$database->createDocument('child', new Document([
460460
'$permissions' => [
461461
Permission::read(Role::any()),
462462
Permission::update(Role::any()),
463463
Permission::delete(Role::any()),
464464
],
465-
'child1' => [
465+
'parent' => [
466466
'$id' => 'foo',
467467
'$permissions' => [Permission::read(Role::any())],
468468
],

0 commit comments

Comments
 (0)