diff --git a/tests/Functional/Controller/BackControllerTest.php b/tests/Functional/Controller/BackControllerTest.php index 81c9e4462..1386b1c7c 100644 --- a/tests/Functional/Controller/BackControllerTest.php +++ b/tests/Functional/Controller/BackControllerTest.php @@ -80,6 +80,7 @@ public function testDisplaySignalementMDLRoleAdminTerritory() $this->assertSelectorTextContains('#signalements-result', '2023-3'); $this->assertSelectorTextContains('#signalements-result', '2023-4'); + $this->assertSelectorTextContains('table', '2 signalement(s)'); } public function testDisplaySignalementCORRoleAdminTerritory() @@ -97,5 +98,6 @@ public function testDisplaySignalementCORRoleAdminTerritory() $this->assertSelectorTextContains('#signalements-result', '2023-2'); $this->assertSelectorTextContains('#signalements-result', '2023-5'); + $this->assertSelectorTextContains('table', '2 signalement(s)'); } }