Skip to content

Commit 887775d

Browse files
fix: adjust condition for schemaless object attribute support in tests
1 parent 1556e6e commit 887775d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/e2e/Adapter/Scopes/SchemalessTests.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1691,8 +1691,9 @@ public function testSchemalessNestedObjectAttributeQueries(): void
16911691
/** @var Database $database */
16921692
$database = static::getDatabase();
16931693

1694-
// Only run for schemaless adapters that support object attributes
1695-
if ($database->getAdapter()->getSupportForAttributes() || !$database->getAdapter()->getSupportForObject()) {
1694+
/** @var Database $database */
1695+
$database = static::getDatabase();
1696+
if ($database->getAdapter()->getSupportForAttributes()) {
16961697
$this->expectNotToPerformAssertions();
16971698
return;
16981699
}

0 commit comments

Comments
 (0)