From 4f578fa4f5914b39a3fdc5ea1f07e77beeb20ee1 Mon Sep 17 00:00:00 2001
From: llaffont <llaffont@afi-sa.fr>
Date: Mon, 26 Oct 2015 14:56:50 +0100
Subject: [PATCH] hotline #30476 recover integration counter

fix tests
---
 .../Integration/PhaseDeleteRecordWithoutItemTest.php         | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/library/Class/Cosmogramme/Integration/PhaseDeleteRecordWithoutItemTest.php b/tests/library/Class/Cosmogramme/Integration/PhaseDeleteRecordWithoutItemTest.php
index d8c5b1a69f9..28c71ca79d3 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]);
   }
-- 
GitLab