Skip to content
Snippets Groups Projects
Commit 5b887f26 authored by eileen's avatar eileen
Browse files

minor fix on setting test where error exposed by fixes elsewhere

parent 7583c3f3
No related branches found
No related tags found
No related merge requests found
......@@ -327,7 +327,9 @@ class api_v3_SettingTest extends CiviUnitTestCase {
);
$result = civicrm_api('setting', 'create', $params);
$this->assertAPISuccess($result, "in line " . __LINE__);
$config = CRM_Core_Config::singleton();
CRM_Core_BAO_Domain::setDomain($this->_domainID2);
$config = CRM_Core_Config::singleton(TRUE, TRUE);
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%'";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment