diff --git a/tests/application/modules/opac/controllers/AbonneControllerLoansHistoryNanookTest.php b/tests/application/modules/opac/controllers/AbonneControllerLoansHistoryNanookTest.php
index cd738b311247f8a70c2223c17e400e3571119434..7f68542a247dc17d513278bfc3325c2ed66b7c94 100644
--- a/tests/application/modules/opac/controllers/AbonneControllerLoansHistoryNanookTest.php
+++ b/tests/application/modules/opac/controllers/AbonneControllerLoansHistoryNanookTest.php
@@ -137,7 +137,7 @@ class AbonneControllerLoansHistoryNanookIndexTest extends AbonneControllerLoansH
 
   /** @test */
   public function paginatorShouldBePresent() {
-    $this->assertXPath('//div[contains("pager model_table_pager",@class)]');
+    $this->assertXPath('//div[contains(@class,"pager model_table_pager")]');
   }
 }