We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cc9d5e commit fa73afaCopy full SHA for fa73afa
1 file changed
tests/Database/Base.php
@@ -1265,7 +1265,7 @@ public function testWritePermissionsUpdateFailure(Document $document)
1265
1266
public function testExceptionAttributeLimit()
1267
{
1268
- if (static::getAdapterName() === 'mariadb' || static::getAdapterName() === 'mysql') {
+ if ($this->getDatabase()->getAttributeLimit() > 0) {
1269
// load the collection up to the limit
1270
$attributes = [];
1271
for ($i=0; $i < $this->getDatabase()->getAttributeLimit(); $i++) {
0 commit comments