2012-10-18 23:00:12 +02:00
|
|
|
<?php
|
|
|
|
|
2014-05-13 02:47:35 +02:00
|
|
|
// The Nette Tester command-line runner can be
|
|
|
|
// invoked through the command: ../../vendor/bin/tester .
|
|
|
|
|
|
|
|
if (@!include __DIR__ . '/../../vendor/autoload.php') {
|
|
|
|
echo 'Install Nette Tester using `composer update --dev`';
|
|
|
|
exit(1);
|
|
|
|
}
|
|
|
|
|
2012-10-18 23:00:12 +02:00
|
|
|
|
2014-05-13 02:47:35 +02:00
|
|
|
// configure environment
|
|
|
|
Tester\Environment::setup();
|
2012-10-18 23:00:12 +02:00
|
|
|
date_default_timezone_set('Europe/Prague');
|
2014-05-13 02:47:35 +02:00
|
|
|
|
|
|
|
|
|
|
|
// load connections
|
|
|
|
$config = require __DIR__ . '/config.php';
|