diff --git a/tests/application/modules/opac/controllers/PanierControllerTest.php b/tests/application/modules/opac/controllers/PanierControllerTest.php index fa9abfc8d29954420a4675aedf91837b6e4fc501..963ae80fa5a2d3d86b6b30606eec000459d12415 100644 --- a/tests/application/modules/opac/controllers/PanierControllerTest.php +++ b/tests/application/modules/opac/controllers/PanierControllerTest.php @@ -299,26 +299,7 @@ class PanierControllerIndexAsRedacteurActionTest extends PanierControllerTestCas /** @test */ - public function panierDomaineHistoireShouldBeVisible() { - $this->assertXPathCount('//td[contains(text(), "selection jeunesse")]', 1,$this->_response->getBody()); - } - - - /** @test */ - public function panierDomaineHistoireShouldNotBeDeletable() { - $this->assertNotXPath('//a[contains(@href, "panier/supprimerpanier/id_panier/38")]'); - } - - - /** @test */ - public function panierDomaineHistoireShouldHaveLinkToDomaine() { - $this->assertXPathContentContains('//td//a[contains(@href, "admin/catalogue/paniers/id_catalogue/97")]', - 'histoire'); - } - - - /** @test */ - public function panierDomaineShouldContains2Paniers() { + public function panierShouldContains2Paniers() { $this->assertXPathContentContains('//span[@class="abonne"]', 'Vous avez 2 panier(s)', $this->_response->getBody());