From: demeritcowboy Date: Sat, 13 Nov 2021 19:04:37 +0000 (-0500) Subject: misc X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2c40fdaaa515c135ca9e4ecbe68230a948ad368f;p=civicrm-core.git misc --- diff --git a/tests/phpunit/CiviTest/CiviCaseTestCase.php b/tests/phpunit/CiviTest/CiviCaseTestCase.php index e0e4dcf135..95088ae658 100644 --- a/tests/phpunit/CiviTest/CiviCaseTestCase.php +++ b/tests/phpunit/CiviTest/CiviCaseTestCase.php @@ -114,6 +114,7 @@ class CiviCaseTestCase extends CiviUnitTestCase { $this->customDirectories(array('template_path' => FALSE)); $this->quickCleanup($this->tablesToTruncate, TRUE); CRM_Case_XMLRepository::singleton(TRUE); + parent::tearDown(); } /** diff --git a/tests/phpunit/CiviTest/CiviUnitTestCase.php b/tests/phpunit/CiviTest/CiviUnitTestCase.php index 563c97da8e..99d197a20c 100644 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -354,6 +354,7 @@ class CiviUnitTestCase extends PHPUnit\Framework\TestCase { * Common setup functions for all unit tests. */ protected function setUp(): void { + parent::setUp(); $session = CRM_Core_Session::singleton(); $session->set('userID', NULL); @@ -555,6 +556,7 @@ class CiviUnitTestCase extends PHPUnit\Framework\TestCase { // classes frees memory as they are not otherwise unset until the // very end. unset($this->mut); + parent::tearDown(); } /**