diff --git a/tests/library/Class/Cosmogramme/Integration/PhaseBatchsTest.php b/tests/library/Class/Cosmogramme/Integration/PhaseBatchsTest.php index d41127aedccb2a8fd32601ba429d9783ace0cbcc..888174ad8c6f2b7f69e9bde8130c86b05ed02128 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 fde66e269966557f6f62206e3fb356ca4c820a5d..8960a0cca88d7fc387868278a7fc28c88d1a4ef0 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