Files
ezmigrationbundle/Tests/bootstrap.php
2019-08-21 17:04:28 +02:00

11 lines
465 B
PHP

<?php
// try to load autoloader both when extension is top-level project and when it is installed as part of a working eZPublish
if (!file_exists($file = __DIR__.'/../vendor/autoload.php') && !file_exists($file = __DIR__.'/../../../../vendor/autoload.php')) {
throw new \RuntimeException('Install the dependencies to run the test suite.');
}
$loader = require $file;
Kaliop\eZMigrationBundle\DependencyInjection\eZMigrationExtension::$loadTestConfig = true;