Merge pull request #3749 from civicrm/4.4
[civicrm-core.git] / tests / phpunit / CiviTest / CiviUnitTestCase.php
index 37c6b9cbe645c6f1570315f8fefdec0955f07afa..c482511a1ae7391f88ff922a3b0c7546d45ad5ac 100644 (file)
@@ -2377,8 +2377,10 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
       'civicrm_participant',
       'civicrm_participant_payment',
       'civicrm_pledge',
+      'civicrm_price_set_entity',
     );
     $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