diff --git a/tests/bootstrap.php b/tests/bootstrap.php index e0fc9ff..37835b8 100755 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -8,14 +8,13 @@ * For the full copyright and license information, please view the file license.md that was distributed with this source code. */ -if (!$loader = @include __DIR__ . '/../vendor/autoload.php') { +if (@!include __DIR__ . '/../vendor/autoload.php') { echo 'Install Nette Tester using `composer update --dev`'; exit(1); } // configure environment Tester\Environment::setup(); -class_alias('Tester\Assert', 'Assert'); date_default_timezone_set('Europe/Prague'); define('TEST_DIR', __DIR__);