From f8da5d90e236bcabb8f94c90cc9c86bce4adab3b Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 10 Jul 2014 10:45:41 +1200 Subject: [PATCH] fix test by using a different variable (one that is still, but shouldn't be, config only --- tests/phpunit/api/v3/SettingTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1