CRM_Case_BAO_CaseTest - Fix setting leakage which breaks CRM_Core_BAO_SettingTest
authorTim Otten <totten@civicrm.org>
Wed, 27 Aug 2014 03:57:29 +0000 (20:57 -0700)
committerTim Otten <totten@civicrm.org>
Wed, 27 Aug 2014 03:57:29 +0000 (20:57 -0700)
tests/phpunit/CRM/Case/BAO/CaseTest.php

index bb7c03d165008857dea4fdf96fe9c91040294d51..3a20c38f3570511c2040c766c44b74e41df7b758 100644 (file)
@@ -44,6 +44,7 @@ class CRM_Case_BAO_CaseTest extends CiviUnitTestCase {
   protected function tearDown() {
     parent::tearDown();
     $this->quickCleanup($this->tablesToTruncate, TRUE);
+    CRM_Core_BAO_ConfigSetting::disableComponent('CiviCase');
   }
 
   function testAddCaseToContact() {