Skip to content

Commit

Permalink
dev/core#2073 Improve cleanup on syntaxconformance test
Browse files Browse the repository at this point in the history
Cleaning up all objects seems a bit too much - but ensuring we
re-set the DAO we create in this class should be a memory-friendly action

#18639
  • Loading branch information
eileenmcnaughton committed Sep 30, 2020
1 parent 4fc8726 commit 3d0bd2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/phpunit/api/v3/SyntaxConformanceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ public function tearDown() {
CRM_Core_DAO::deleteTestObjects($entityName, ['id' => $entityID]);
}
}
$this->deletableTestObjects = [];
parent::tearDown();
}

/**
Expand Down

0 comments on commit 3d0bd2d

Please sign in to comment.