mirror of
https://github.com/jbcr/ezmigrationbundle.git
synced 2026-03-24 08:52:08 +01:00
11 lines
465 B
PHP
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;
|