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 e9ca2e86839890d3843c514389027dd6b4b56042..3a9275ce7af887e3200bc475ed1e5236c136a39b 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.');
     }