diff --git a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/CartTest.php b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/CartTest.php
index 3ca2336e51f067847134dffc0bfdba520707a60d..bf1a6b2d3aedd59d2923722582a693335d2e1404 100644
--- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/CartTest.php
+++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/CartTest.php
@@ -89,7 +89,6 @@ class CartTest extends \VuFindTest\Unit\MinkTestCase
                 return;
             }
         }
-        die();
         $this->fail('Too many retries on check for error message.');
     }
 
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 4829192de58b3a5613937277956ce3b15f894f22..d23db85659161dad3e2b0775cca707f06f1c07bf 100644
--- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/RecordActionsTest.php
+++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/RecordActionsTest.php
@@ -95,7 +95,7 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase
         // TODO Rewrite for comment and login coming
         $this->findCss($page, '.record-tabs .usercomments')->click();
         $this->findCss($page, '.comment-form');
-        $this->assertEquals( // Can Comment?
+        $this->assertEquals(// Can Comment?
             'You must be logged in first',
             $this->findCss($page, 'form.comment-form .btn.btn-primary')->getValue()
         );
@@ -111,7 +111,7 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase
         // Make sure page updated for login
         $page = $this->gotoRecord();
         $this->findCss($page, '.record-tabs .usercomments')->click();
-        $this->assertEquals( // Can Comment?
+        $this->assertEquals(// Can Comment?
             'Add your comment',
             $this->findCss($page, 'form.comment-form .btn.btn-primary')->getValue()
         );