We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa73afa commit 1469661Copy full SHA for 1469661
1 file changed
tests/Database/Base.php
@@ -1295,7 +1295,7 @@ public function testExceptionAttributeLimit()
1295
*/
1296
public function testCheckAttributeCountLimit()
1297
{
1298
- if (static::getAdapterName() === 'mariadb' || static::getAdapterName() === 'mysql') {
+ if ($this->getDatabase()->getAttributeLimit() > 0) {
1299
$collection = static::getDatabase()->getCollection('attributeLimit');
1300
1301
// create same attribute in testExceptionAttributeLimit
0 commit comments