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 3488400d35eb012ae204880ae0cc1dca53e3239c..708d57f8bbcc6bce2fadfaf1d59c06f1d133f873 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));
     }