X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FCRM%2FCore%2FInnoDBIndexerTest.php;h=8db28afb1bd8f074527ddcc858edd34fac7157c7;hb=649d6dd08539215332dc943a749af302a42f76ef;hp=527064f3d7775259a86b065f58cbe178732a8fb1;hpb=29d98e1314e345f1b9044f5359c2d0a67f380d21;p=civicrm-core.git diff --git a/tests/phpunit/CRM/Core/InnoDBIndexerTest.php b/tests/phpunit/CRM/Core/InnoDBIndexerTest.php index 527064f3d7..8db28afb1b 100644 --- a/tests/phpunit/CRM/Core/InnoDBIndexerTest.php +++ b/tests/phpunit/CRM/Core/InnoDBIndexerTest.php @@ -78,7 +78,11 @@ class CRM_Core_InnoDBIndexerTest extends CiviUnitTestCase { CRM_Core_DAO::executeQuery('SELECT id FROM civicrm_contact WHERE MATCH(first_name,last_name) AGAINST ("joe")'); } + /** + * @return mixed + */ public function supportsFts() { return version_compare(CRM_Core_DAO::singleValueQuery('SELECT VERSION()'), '5.6.0', '>='); } + }