From 0bfc675218e84c0a359ebdc6859f9343f83be46d Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Fri, 2 Sep 2016 12:23:12 -0400 Subject: [PATCH] Fixed timing issue with sensitive tags. Formatting change as well. --- .../src/VuFindTest/Mink/RecordActionsTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/RecordActionsTest.php b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/RecordActionsTest.php index 3488400d35e..708d57f8bbc 100644 --- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/RecordActionsTest.php +++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/RecordActionsTest.php @@ -84,7 +84,8 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase * * @return void */ - protected function makeAccount($page, $username) { + protected function makeAccount($page, $username) + { $this->findCss($page, '.modal-body .createAccountLink')->click(); $this->snooze(); $this->fillInAccountForm( @@ -272,7 +273,6 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase $this->findCss($page, '.modal .close')->click(); // Count tags $this->snooze(); - $page = $this->gotoRecord(); $tags = $page->findAll('css', '.tagList .tag'); $this->assertEquals(6, count($tags)); } -- GitLab