40 lines
1.1 KiB
PHP
40 lines
1.1 KiB
PHP
|
|
<?php
|
||
|
|
|
||
|
|
/*
|
||
|
|
* Core PHP Framework
|
||
|
|
*
|
||
|
|
* Licensed under the European Union Public Licence (EUPL) v1.2.
|
||
|
|
* See LICENSE file for details.
|
||
|
|
*/
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
use Orchestra\Testbench\TestCase;
|
||
|
|
|
||
|
|
/*
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
| Test Case
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
|
|
||
|
|
| Feature tests use Orchestra Testbench to bootstrap a minimal Laravel
|
||
|
|
| application with SQLite in-memory database. This provides facades,
|
||
|
|
| Eloquent, and Schema support without needing the full application.
|
||
|
|
|
|
||
|
|
*/
|
||
|
|
|
||
|
|
uses(TestCase::class)->in('Feature');
|
||
|
|
|
||
|
|
/*
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
| Package Autoloading
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
|
|
||
|
|
| Register PSR-4 namespaces for package modules that sit outside the
|
||
|
|
| main Core\Admin\ autoload prefix. In CI these are resolved via the
|
||
|
|
| path repository configuration; locally we register them here.
|
||
|
|
|
|
||
|
|
*/
|
||
|
|
|
||
|
|
$loader = require __DIR__.'/../vendor/autoload.php';
|
||
|
|
$loader->addPsr4('Core\\Mod\\Hub\\', __DIR__.'/../src/Mod/Hub/');
|