diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 6b1e21b..7986156 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -1,24 +1,9 @@ addPsr4('Rx\\Thruway\\Tests\\', __DIR__); - break; - } +if (file_exists($file = __DIR__ . '/../vendor/autoload.php')) { + require $file; +} else { + throw new RuntimeException('Install dependencies to run test suite.'); } /**