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

16 lines
467 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');
}
2018-08-13 10:01:15 +02:00
// Individuazione dei percorsi di base
App::definePaths(__DIR__.'/../..');
2018-08-08 21:06:08 +02:00
2018-09-20 12:05:22 +02:00
database();