Skip to content

Commit c04975b

Browse files
updated unit test
1 parent 9ce30c1 commit c04975b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/Validator/IndexTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ public function testNestedObjectPathIndexValidation(): void
372372
]);
373373

374374
// Validator with supportForObjectIndexes enabled
375-
$validator = new Index($collection->getAttribute('attributes'), $collection->getAttribute('indexes', []), 768, [], false, false, false, false, true, true, true, true);
375+
$validator = new Index($collection->getAttribute('attributes'), $collection->getAttribute('indexes', []), 768, [], false, false, false, false, true, true, true, true, supportForObjects:true);
376376

377377
// InValid: INDEX_OBJECT on nested path (dot notation)
378378
$validNestedObjectIndex = new Document([

0 commit comments

Comments
 (0)