diff --git a/tests/application/modules/opac/controllers/AuthControllerTest.php b/tests/application/modules/opac/controllers/AuthControllerTest.php
index 726dffb701aa6501dbfdb282b2173fec690f867b..63da8c4d4011ccb05013547741366cbd04202194 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 0fcea8751be3473b9212ae7be4f2b3d85d7c0180..4be1539cc9d5d1d79fdb5594a4df064fe52657eb 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"]');
   }
 }