From 23c2f7dc2f753a9e9f409564190660fd48175060 Mon Sep 17 00:00:00 2001 From: gloas <gloas@afi-sa.fr> Date: Tue, 4 Apr 2017 17:14:54 +0200 Subject: [PATCH] CIP #57952 fix tests failures --- .../admin/controllers/CmsControllerTest.php | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/tests/application/modules/admin/controllers/CmsControllerTest.php b/tests/application/modules/admin/controllers/CmsControllerTest.php index 7d604a7f094..4a593913a84 100644 --- a/tests/application/modules/admin/controllers/CmsControllerTest.php +++ b/tests/application/modules/admin/controllers/CmsControllerTest.php @@ -780,18 +780,6 @@ class CmsControllerArticleConcertEditRenderPopupActionTest extends CmsController } - /** @test */ - public function prettyPhotoShouldBeLoaded() { - $this->_xpath->assertXPath($this->_json->content, '//script[contains(@src, "jquery.prettyPhoto")]'); - } - - - /** @test */ - public function linkToEditLangEnShouldHaveDataPopup() { - $this->_xpath->assertXPath($this->_json->content, '//a[contains(@href, "edit/id/4/lang/en")][@data-popup="true"]'); - } - - /** @test */ public function boutonRetourShouldCloseThePopup() { $this->_xpath->assertXPath($this->_json->content, @@ -840,13 +828,6 @@ class CmsControllerArticleConcertEditRenderPopupActionTest extends CmsController } - /** @test */ - public function tagPreviewArticleShouldNotHaveRenderPopupInLink() { - $this->_xpath->assertXPath($this->_json->content, - '//a[contains(@href, "cms/articleview/id/4?iframe=true")]'); - } - - /** @test */ public function contentShouldNotContainsJQuery() { $this->_xpath->assertNotXPath($this->_json->content, @@ -860,7 +841,6 @@ class CmsControllerArticleConcertEditRenderPopupActionTest extends CmsController '//script[contains(@src, "'.JQUERYUI.'")]', $this->_json->content); } - } -- GitLab