From c546c2059843e0f2f17ff726bcca2898ed8aba34 Mon Sep 17 00:00:00 2001
From: pbarroca <pbarroca@afi-sa.fr>
Date: Wed, 30 Nov 2016 16:20:10 +0100
Subject: [PATCH] hotline #43155 : fix failures

---
 .../library/Class/Cosmogramme/Integration/PhaseBatchsTest.php | 4 ++--
 .../Class/Cosmogramme/Integration/PhaseItemFacetsTest.php     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/library/Class/Cosmogramme/Integration/PhaseBatchsTest.php b/tests/library/Class/Cosmogramme/Integration/PhaseBatchsTest.php
index d41127aedcc..888174ad8c6 100644
--- a/tests/library/Class/Cosmogramme/Integration/PhaseBatchsTest.php
+++ b/tests/library/Class/Cosmogramme/Integration/PhaseBatchsTest.php
@@ -100,7 +100,7 @@ class PhaseBatchsCronRunTest extends PhaseBatchsTestCase {
 
   /** @test */
   public function shouldDisplayBatchLabel() {
-    $this->assertLogContains('<span class="vert">Testing Batch: OK</span><br/>');
+    $this->assertLogContains('Testing Batch OK');
   }
 
 
@@ -112,7 +112,7 @@ class PhaseBatchsCronRunTest extends PhaseBatchsTestCase {
 
   /** @test */
   public function shouldDisplayElapsedTime() {
-    $this->assertLogContains('Temps de traitement');
+    $this->assertLogContains('temps de traitement');
   }
 
 
diff --git a/tests/library/Class/Cosmogramme/Integration/PhaseItemFacetsTest.php b/tests/library/Class/Cosmogramme/Integration/PhaseItemFacetsTest.php
index fde66e26996..8960a0cca88 100644
--- a/tests/library/Class/Cosmogramme/Integration/PhaseItemFacetsTest.php
+++ b/tests/library/Class/Cosmogramme/Integration/PhaseItemFacetsTest.php
@@ -133,6 +133,6 @@ class PhaseItemFacetsExpectedExceptionPhaseTest extends PhaseItemFacetsTestCase
 
   /** @test */
   public function logShouldContainsPhaseLabel() {
-    $this->assertLogContains('<h4>Mise à jour des facettes exemplaires</h4><span class="vert"> 0 records updated </span><p class="rouge">Erreur lors de l\'execution de la phase Mise à jour des facettes exemplaires : <br/>Invalid argument supplied for foreach()');
+    $this->assertLogContains('<h4>Mise à jour des facettes exemplaires</h4> <span class="vert"> 0 records updated </span> <p class="rouge">Erreur lors de l\'execution de la phase Mise à jour des facettes exemplaires : <br/>Invalid argument supplied for foreach()');
   }
 }
\ No newline at end of file
-- 
GitLab