Skip to content

Commit

Permalink
Merge pull request #20248 from eileenmcnaughton/tes
Browse files Browse the repository at this point in the history
Improve cleanup on contact test
  • Loading branch information
eileenmcnaughton authored May 7, 2021
2 parents dd43aec + a4b7c4e commit 20a0376
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/phpunit/api/v3/ContactTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,22 +85,19 @@ public function tearDown(): void {
// truncate a few tables
$tablesToTruncate = [
'civicrm_email',
'civicrm_contribution',
'civicrm_line_item',
'civicrm_website',
'civicrm_relationship',
'civicrm_uf_match',
'civicrm_phone',
'civicrm_address',
'civicrm_acl_contact_cache',
'civicrm_activity_contact',
'civicrm_activity',
'civicrm_group',
'civicrm_group_contact',
'civicrm_group_contact_cache',
'civicrm_saved_search',
'civicrm_prevnext_cache',
];
$this->quickCleanUpFinancialEntities();

$this->quickCleanup($tablesToTruncate, TRUE);
parent::tearDown();
Expand Down

0 comments on commit 20a0376

Please sign in to comment.