Skip to content

Commit 08c1407

Browse files
Update tests/e2e/Adapter/Scopes/VectorTests.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent e8318df commit 08c1407

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/e2e/Adapter/Scopes/VectorTests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ public function testVectorWithRelationships(): void
12581258
// Create child collection
12591259
$database->createCollection('vectorChild');
12601260
$database->createAttribute('vectorChild', 'title', Database::VAR_STRING, 255, true);
1261-
$database->createAttribute('vectorChild', 'parent', Database::VAR_RELATIONSHIP, 0, false, null, ['relatedCollection' => 'vectorParent', 'relationType' => Database::RELATION_ONE_TO_MANY, 'twoWay' => true, 'twoWayKey' => 'children']);
1261+
$database->createAttribute('vectorChild', 'parent', Database::VAR_RELATIONSHIP, 0, false, false, false, ['relatedCollection' => 'vectorParent', 'relationType' => Database::RELATION_ONE_TO_MANY, 'twoWay' => true, 'twoWayKey' => 'children']);
12621262

12631263
// Create parent documents with vectors
12641264
$parent1 = $database->createDocument('vectorParent', new Document([

0 commit comments

Comments
 (0)