From 357daaf05231a02903c08ccc3ed16221220c503a Mon Sep 17 00:00:00 2001 From: gloas <gloas@afi-sa.fr> Date: Wed, 15 Mar 2017 11:24:10 +0100 Subject: [PATCH] CIP #57858 add test to cover loading of tag_selection.js/.css --- .../controllers/AbonneControllerSettingsTest.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/application/modules/opac/controllers/AbonneControllerSettingsTest.php b/tests/application/modules/opac/controllers/AbonneControllerSettingsTest.php index 00001e51b2a..eae02af8817 100644 --- a/tests/application/modules/opac/controllers/AbonneControllerSettingsTest.php +++ b/tests/application/modules/opac/controllers/AbonneControllerSettingsTest.php @@ -131,6 +131,18 @@ class AbonneControllerSettingsFormTest extends AbonneControllerSettingsTestCase } + /** @test */ + public function listeCocheJsShouldBeLoaded() { + $this->assertXPath('//script', 'tag_selection'); + } + + + /** @test */ + public function listeCocheCssShouldBeLoaded() { + $this->assertXPath('//link', 'tag_selection'); + } + + /** @test */ public function domainSelectorShouldBePresent() { $this->assertXPathContentContains('//div', 'Mes thèmes préférés'); -- GitLab