mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Use native autoloader in tests
This commit is contained in:
parent
783bf10b39
commit
6f969ee124
@ -1,9 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$loader = include(__DIR__ . "/../vendor/autoload.php");
|
require(__DIR__ . "/../src/Fenom.php");
|
||||||
/* @var Composer\Autoload\ClassLoader $loader */
|
Fenom::registerAutoload();
|
||||||
$loader->add('Fenom', __DIR__ . '/cases');
|
|
||||||
|
|
||||||
|
|
||||||
define('FENOM_RESOURCES', __DIR__ . "/resources");
|
define('FENOM_RESOURCES', __DIR__ . "/resources");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user