From f0f51817834de7752b48fc8b55409a821853739f Mon Sep 17 00:00:00 2001 From: Laurent Laffont <llaffont@afi-sa.fr> Date: Thu, 29 Oct 2020 15:16:18 +0100 Subject: [PATCH] cleaning forgotten RT comments --- library/templates/Intonation/View/RenderBadges.php | 2 -- tests/scenarios/DriveCheckOut/DriveCheckOutBookingTest.php | 3 ++- tests/scenarios/Templates/TemplatesLibraryTest.php | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/library/templates/Intonation/View/RenderBadges.php b/library/templates/Intonation/View/RenderBadges.php index ca0a16309be..32456402dae 100644 --- a/library/templates/Intonation/View/RenderBadges.php +++ b/library/templates/Intonation/View/RenderBadges.php @@ -38,8 +38,6 @@ class Intonation_View_RenderBadges extends ZendAfi_View_Helper_BaseHelper { ? $img : ''; - xdebug_break(); - return $this->_tag($badge->getTag(), $img . $this->view->tag('span', $text, diff --git a/tests/scenarios/DriveCheckOut/DriveCheckOutBookingTest.php b/tests/scenarios/DriveCheckOut/DriveCheckOutBookingTest.php index e25c9eff675..cd9c28fad48 100644 --- a/tests/scenarios/DriveCheckOut/DriveCheckOutBookingTest.php +++ b/tests/scenarios/DriveCheckOut/DriveCheckOutBookingTest.php @@ -741,7 +741,8 @@ class DriveCheckOutBookingPlanBibHotelDieuAt2020_05_12QuotaFullAt09_00Test /** @test */ public function cardForHotelDieuShouldContainsBadgeMail() { - $this->assertXPathContentContains('//div[contains(@class, "badge-group")]//a[@class="badge_tag badge_mail text-left badge no_truncate badge-primary text-light"]', 'emilie@hotel-dieu.fr', $this->_response->getBody()); + $this->assertXPathContentContains('//div[contains(@class, "badge-group")]//a[@class="badge_tag badge_mail text-left badge no_truncate badge-primary text-light"]', + 'emilie@hotel-dieu.fr'); } diff --git a/tests/scenarios/Templates/TemplatesLibraryTest.php b/tests/scenarios/Templates/TemplatesLibraryTest.php index 6465ce14569..3f23b4554ad 100644 --- a/tests/scenarios/Templates/TemplatesLibraryTest.php +++ b/tests/scenarios/Templates/TemplatesLibraryTest.php @@ -105,7 +105,8 @@ class TemplatesLibraryWidgetWithCarouselThreeColumnsTest extends TemplatesLibrar /** @test */ public function firstCardShouldContainsFermeReouvertureLundiHuitHeure() { - $this->assertXPathContentContains('//div[contains(@class, "card_Intonation_Library_View_Wrapper_Library")][1]//p[contains(@class, "closed")]','Fermé. Réouverture Lundi à 08:00', $this->_response->getBody()); + $this->assertXPathContentContains('//div[contains(@class, "card_Intonation_Library_View_Wrapper_Library")][1]//p[contains(@class, "closed")]', + 'Fermé. Réouverture Lundi à 08:00'); } } -- GitLab