Skip to content

Commit 4483496

Browse files
updated tests
1 parent 6edfe1a commit 4483496

File tree

2 files changed

+680
-3
lines changed

2 files changed

+680
-3
lines changed

tests/e2e/Adapter/Scopes/AttributeTests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,7 @@ public function testArrayAttribute(): void
15231523
]);
15241524
$this->fail('Failed to throw exception');
15251525
} catch (Throwable $e) {
1526-
$this->assertEquals('Invalid query: Cannot query contains on attribute "age" because it is not an array or string.', $e->getMessage());
1526+
$this->assertEquals('Invalid query: Cannot query contains on attribute "age" because it is not an array, string, or object.', $e->getMessage());
15271527
}
15281528

15291529
$documents = $database->find($collection, [

0 commit comments

Comments
 (0)