Skip to content

Commit fa73afa

Browse files
committed
Update testing condition for attribute limits
1 parent 4cc9d5e commit fa73afa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Database/Base.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,7 @@ public function testWritePermissionsUpdateFailure(Document $document)
12651265

12661266
public function testExceptionAttributeLimit()
12671267
{
1268-
if (static::getAdapterName() === 'mariadb' || static::getAdapterName() === 'mysql') {
1268+
if ($this->getDatabase()->getAttributeLimit() > 0) {
12691269
// load the collection up to the limit
12701270
$attributes = [];
12711271
for ($i=0; $i < $this->getDatabase()->getAttributeLimit(); $i++) {

0 commit comments

Comments
 (0)