Test fixes

This commit is contained in:
Taras Machyshyn
2018-07-16 15:48:25 +03:00
parent 625876f123
commit 4065ec5477
@@ -56,6 +56,11 @@ class CheckCreatedIndexTest extends \tests\integration\Core\BaseTestCase
$fulltextFieldList = $entityManager->getOrmMetadata()->get($entityName, 'fullTextSearchColumnList');
if (!$fulltextFieldList) {
$this->assertNull($fulltextFieldList);
return;
}
$query = "SHOW INDEX FROM `". Util::toCamelCase($entityName) ."` WHERE Index_type = 'FULLTEXT'";
$sth = $pdo->prepare($query);
$sth->execute();