Skip to content

Commit aa4355a

Browse files
committed
remove test
1 parent 576ca46 commit aa4355a

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

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

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,31 +1057,6 @@ public function testIdenticalTwoWayKeyRelationship(): void
10571057
}
10581058
}
10591059

1060-
$database->createDocument('parent', new Document([
1061-
'$permissions' => [
1062-
Permission::read(Role::any()),
1063-
Permission::update(Role::any()),
1064-
Permission::delete(Role::any()),
1065-
],
1066-
'child1' => [
1067-
'$id' => 'foo',
1068-
'$permissions' => [Permission::read(Role::any())],
1069-
],
1070-
'children' => [
1071-
[
1072-
'$id' => 'bar',
1073-
'$permissions' => [Permission::read(Role::any())],
1074-
],
1075-
],
1076-
]));
1077-
1078-
$documents = $database->find('parent', []);
1079-
$document = array_pop($documents);
1080-
$this->assertArrayHasKey('child1', $document);
1081-
$this->assertEquals('foo', $document->getAttribute('child1')->getId());
1082-
$this->assertArrayHasKey('children', $document);
1083-
$this->assertEquals('bar', $document->getAttribute('children')[0]->getId());
1084-
10851060
try {
10861061
$database->updateRelationship(
10871062
collection: 'parent',

0 commit comments

Comments
 (0)