Skip to content

Commit b98e7f0

Browse files
committed
change name
1 parent 8ad4cc2 commit b98e7f0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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()),

0 commit comments

Comments
 (0)