From 4278b952d40683324613b2b09a6036a56d9d5017 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 15 Jul 2014 20:42:30 +1200 Subject: [PATCH] test fix to compensate for not truncating status anymore --- tests/phpunit/CiviTest/CiviUnitTestCase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/CiviTest/CiviUnitTestCase.php b/tests/phpunit/CiviTest/CiviUnitTestCase.php index 37c6b9cbe6..8c54795b20 100644 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -2379,6 +2379,7 @@ AND ( TABLE_NAME LIKE 'civicrm_value_%' ) 'civicrm_pledge', ); $this->quickCleanup($tablesToTruncate); + CRM_Core_DAO::executeQuery("DELETE FROM civicrm_membership_status WHERE name NOT IN('New', 'Current', 'Grace', 'Expired', 'Pending', 'Cancelled', 'Deceased')"); } /* * Function does a 'Get' on the entity & compares the fields in the Params with those returned -- 2.25.1