1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-15 18:00:16 +01:00
openstamanager/tests/unit/_bootstrap.php

11 lines
378 B
PHP
Raw Normal View History

2018-08-08 21:06:08 +02:00
<?php
2018-10-20 10:12:23 +02:00
use Codeception\Util\Autoload;
// Caricamento delle dipendenze e delle librerie del progetto
$namespaces = require_once __DIR__.'/../../config/namespaces.php';
foreach ($namespaces as $path => $namespace) {
Autoload::addNamespace($namespace.'\\', __DIR__.'/../../'.$path.'/custom/src');
Autoload::addNamespace($namespace.'\\', __DIR__.'/../../'.$path.'/src');
}