diff --git a/tests/PHPUnit/bootstrap.php b/tests/PHPUnit/bootstrap.php
index d793f4e041aea0d9519d2cd714171276edeff2f1..1507ced00d7dfdaa6ef64bb18020e5ee20cf04d5 100644
--- a/tests/PHPUnit/bootstrap.php
+++ b/tests/PHPUnit/bootstrap.php
@@ -111,7 +111,7 @@ Try again.";
     $response = Http::sendHttpRequestBy('curl', $url, 2);
 
     // The SQL error is for Travis...
-    if ($response === 'OK' || strpos($response, 'Base table or view not found: 1146 Table 'piwik_tests.option' doesn't exist') !== false) {
+    if ($response === 'OK' || strpos($response, 'Table 'piwik_tests.option' doesn't exist') !== false) {
         return;
     }