diff --git a/tests/Functional/Controller/BackArchivedAccountControllerTest.php b/tests/Functional/Controller/BackArchivedAccountControllerTest.php index 191d5b9d2..fb654c9df 100644 --- a/tests/Functional/Controller/BackArchivedAccountControllerTest.php +++ b/tests/Functional/Controller/BackArchivedAccountControllerTest.php @@ -35,7 +35,7 @@ public function testAccountList(): void $client->getResponse()->getStatusCode(), \sprintf('Result value: %d', $client->getResponse()->getStatusCode()) ); - $this->assertEquals(1, $crawler->filter('h1:contains("9 comptes archivés ou sans territoires et/ou partenaires trouvés")')->count()); + $this->assertEquals(1, $crawler->filter('h2:contains("9 comptes archivés ou sans territoires et/ou partenaires trouvés")')->count()); } public function testAccountListWithTerritory(): void