From: Eileen McNaughton Date: Wed, 9 Jul 2014 22:45:41 +0000 (+1200) Subject: fix test by using a different variable (one that is still, but shouldn't be, config... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f8da5d90e236bcabb8f94c90cc9c86bce4adab3b;p=civicrm-core.git fix test by using a different variable (one that is still, but shouldn't be, config only --- diff --git a/tests/phpunit/api/v3/SettingTest.php b/tests/phpunit/api/v3/SettingTest.php index 61d1405c4f..261676a7e9 100644 --- a/tests/phpunit/api/v3/SettingTest.php +++ b/tests/phpunit/api/v3/SettingTest.php @@ -410,7 +410,7 @@ class api_v3_SettingTest extends CiviUnitTestCase { CRM_Core_BAO_Domain::resetDomain(); $this->assertTrue($config->debug == 1); // this should NOT be stored in the settings table now - only in config - $sql = " SELECT count(*) as c FROM civicrm_setting WHERE name LIKE '%debug%'"; + $sql = " SELECT count(*) as c FROM civicrm_setting WHERE name LIKE '%maxFileSize%'"; $dao = CRM_Core_DAO::executeQuery($sql); $dao->fetch(); $this->assertEquals($dao->c, 0);