Skip to content

Commit 1469661

Browse files
authored
Make test conditional not on adapter name
1 parent fa73afa commit 1469661

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
@@ -1295,7 +1295,7 @@ public function testExceptionAttributeLimit()
12951295
*/
12961296
public function testCheckAttributeCountLimit()
12971297
{
1298-
if (static::getAdapterName() === 'mariadb' || static::getAdapterName() === 'mysql') {
1298+
if ($this->getDatabase()->getAttributeLimit() > 0) {
12991299
$collection = static::getDatabase()->getCollection('attributeLimit');
13001300

13011301
// create same attribute in testExceptionAttributeLimit

0 commit comments

Comments
 (0)