From f16bb47381ab57a732cae8f4b8f27822a9ce1c13 Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 14 Jun 2019 17:00:31 -0400 Subject: [PATCH] [TEST] add assert to ensure nullArray & nullObject are not contaminated --- tests/phpunit/CiviTest/CiviUnitTestCase.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/phpunit/CiviTest/CiviUnitTestCase.php b/tests/phpunit/CiviTest/CiviUnitTestCase.php index 471d39937ce..f40a07df21e 100644 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -482,6 +482,8 @@ protected function tearDown() { $this->cleanTempDirs(); $this->unsetExtensionSystem(); + $this->assertEquals([], CRM_Core_DAO::$_nullArray); + $this->assertEquals(NULL, CRM_Core_DAO::$_nullObject); } /**