[NFC] [Test] Remove duplicate cleanup
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 17 Jun 2021 08:41:01 +0000 (20:41 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 17 Jun 2021 22:53:05 +0000 (10:53 +1200)
tests/phpunit/api/v3/ContactTest.php

index e3a56d0bb3d34c90a19444be73289ebe891d8635..600c34cf7ed98facf6df627ca182f079084b6808 100644 (file)
@@ -2934,14 +2934,6 @@ class api_v3_ContactTest extends CiviUnitTestCase {
     ];
     $result = $this->callAPIAndDocument('Contact', 'Create', $params, __FUNCTION__, __FILE__, $description, $subFile);
     $this->assertEquals(0, $result['values'][$result['id']]['api.entity_tag.create']['is_error']);
-
-    $tablesToTruncate = [
-      'civicrm_contact',
-      'civicrm_activity',
-      'civicrm_entity_tag',
-      'civicrm_tag',
-    ];
-    $this->quickCleanup($tablesToTruncate, TRUE);
   }
 
   /**