From 1bed902f92ff0e9762fa2375d922eb9c7d97b939 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Thu, 12 Mar 2020 14:43:39 -0400 Subject: [PATCH] Fix tests to match accessibility fixes. --- .../src/VuFindTest/Mink/NextPrevNavTest.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 0d12af50602..7eb106e97af 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()); } } -- GitLab