Skip to content
Snippets Groups Projects
Commit 1bed902f authored by Demian Katz's avatar Demian Katz Committed by Robert Lange
Browse files

Fix tests to match accessibility fixes.

parent b095dc5f
No related merge requests found
...@@ -35,12 +35,9 @@ namespace VuFindTest\Mink; ...@@ -35,12 +35,9 @@ namespace VuFindTest\Mink;
* @author Conor Sheehan <csheehan@nli.ie> * @author Conor Sheehan <csheehan@nli.ie>
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link https://vufind.org Main Page * @link https://vufind.org Main Page
* @retry 4
*/ */
class NextPrevNavTest extends \VuFindTest\Unit\MinkTestCase class NextPrevNavTest extends \VuFindTest\Unit\MinkTestCase
{ {
use \VuFindTest\Unit\AutoRetryTrait;
/** /**
* if next_prev_navigation and first_last_navigation are set to true * if next_prev_navigation and first_last_navigation are set to true
* and a search which returns no results is run * and a search which returns no results is run
...@@ -65,6 +62,6 @@ class NextPrevNavTest extends \VuFindTest\Unit\MinkTestCase ...@@ -65,6 +62,6 @@ class NextPrevNavTest extends \VuFindTest\Unit\MinkTestCase
$session->visit($this->getVuFindUrl() . "/Record/geo20001"); $session->visit($this->getVuFindUrl() . "/Record/geo20001");
// should fail if exception is thrown // 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());
} }
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment