diff --git a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/NextPrevNavTest.php b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/NextPrevNavTest.php index 0d12af5060298ac691250e0f06cea4feb6f8cbf3..7eb106e97af4eef4ecb46da0467777fba498e959 100644 --- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/NextPrevNavTest.php +++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/NextPrevNavTest.php @@ -35,12 +35,9 @@ namespace VuFindTest\Mink; * @author Conor Sheehan <csheehan@nli.ie> * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org Main Page - * @retry 4 */ class NextPrevNavTest extends \VuFindTest\Unit\MinkTestCase { - use \VuFindTest\Unit\AutoRetryTrait; - /** * if next_prev_navigation and first_last_navigation are set to true * and a search which returns no results is run @@ -65,6 +62,6 @@ class NextPrevNavTest extends \VuFindTest\Unit\MinkTestCase $session->visit($this->getVuFindUrl() . "/Record/geo20001"); // should fail if exception is thrown - $this->assertStringContainsString("Test Publication 20001", $this->findCss($page, "div.media-body > h3[property=name]")->getText()); + $this->assertContains("Test Publication 20001", $this->findCss($page, "div.media-body > h1[property=name]")->getText()); } }