diff --git a/tests/library/Class/Cosmogramme/Integration/PhaseDeleteRecordWithoutItemTest.php b/tests/library/Class/Cosmogramme/Integration/PhaseDeleteRecordWithoutItemTest.php index d8c5b1a69f9e81f44ed2b4a4883b9617273f1075..28c71ca79d33fb203b69d357671a7ba1771de8ea 100644 --- a/tests/library/Class/Cosmogramme/Integration/PhaseDeleteRecordWithoutItemTest.php +++ b/tests/library/Class/Cosmogramme/Integration/PhaseDeleteRecordWithoutItemTest.php @@ -26,7 +26,9 @@ abstract class PhaseDeleteRecordWithoutItemTestCase extends Class_Cosmogramme_In public function setUp() { parent::setUp(); - $this->_phase = $this->_buildPhase('DeleteRecordWithoutItem')->run(); + $this->_phase = $this->_buildPhase('DeleteRecordWithoutItem') + ->setMemoryCleaner(function() {}) + ->run(); Class_Notice::clearCache(); Class_Exemplaire::clearCache(); } @@ -67,7 +69,6 @@ class PhaseDeleteRecordWithoutItemSimpleTest extends PhaseDeleteRecordWithoutIte protected function _prepareFixtures() { parent::_prepareFixtures(); - $this->fixture('Class_Notice', ['id' => 34]); $this->fixture('Class_Notice', ['id' => 35]); }