File tree Expand file tree Collapse file tree
tests/e2e/Adapter/Scopes/Relationships Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -445,18 +445,18 @@ public function testOneToOneOneWayRelationshipRejectsChildSideWrites(): void
445445 return ;
446446 }
447447
448- $ database ->createCollection ('parent ' );
449- $ database ->createCollection ('child ' );
448+ $ database ->createCollection ('reject- parent ' );
449+ $ database ->createCollection ('reject- child ' );
450450
451451 $ database ->createRelationship (
452- collection: 'parent ' ,
453- relatedCollection: 'child ' ,
452+ collection: 'reject- parent ' ,
453+ relatedCollection: 'reject- child ' ,
454454 type: Database::RELATION_ONE_TO_ONE ,
455455 id: 'child1 '
456456 );
457457
458458 try {
459- $ database ->createDocument ('child ' , new Document ([
459+ $ database ->createDocument ('reject- child ' , new Document ([
460460 '$permissions ' => [
461461 Permission::read (Role::any ()),
462462 Permission::update (Role::any ()),
You can’t perform that action at this time.
0 commit comments