From 724d930bcb321d3c4c0a838e36a7b2b563e57238 Mon Sep 17 00:00:00 2001 From: gloas <gloas@afi-sa.fr> Date: Thu, 6 Apr 2017 09:34:27 +0200 Subject: [PATCH] CIP #57952 fix failures --- .../modules/opac/controllers/AuthControllerTest.php | 6 ------ .../modules/opac/controllers/BibControllerTest.php | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/application/modules/opac/controllers/AuthControllerTest.php b/tests/application/modules/opac/controllers/AuthControllerTest.php index 726dffb701a..63da8c4d401 100644 --- a/tests/application/modules/opac/controllers/AuthControllerTest.php +++ b/tests/application/modules/opac/controllers/AuthControllerTest.php @@ -448,12 +448,6 @@ class AuthControllerNobodyLoggedAndRegistrationAllowedBoiteLoginTest } - /** @test */ - function headShouldContainsAbonnesJS() { - $this->assertXPath('//head//script[contains(@src,"public/opac/js/abonne.js")]'); - } - - /** @test */ function headShouldContainsAdminCommonJS() { $this->assertXPath('//head//script[contains(@src,"public/admin/js/common.js")]'); diff --git a/tests/application/modules/opac/controllers/BibControllerTest.php b/tests/application/modules/opac/controllers/BibControllerTest.php index 0fcea8751be..4be1539cc9d 100644 --- a/tests/application/modules/opac/controllers/BibControllerTest.php +++ b/tests/application/modules/opac/controllers/BibControllerTest.php @@ -1166,7 +1166,7 @@ class BibControllerBibSelectionWithEmptySessionTest extends BibControllerSelecti /** @test */ public function inputTypeSubmitShouldBePresent() { - $this->assertXPath('//form//input[@type="submit"]'); + $this->assertXPath('//button[@type="submit"]'); } } -- GitLab