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
|
||||
|
||||
$loader = include(__DIR__ . "/../vendor/autoload.php");
|
||||
/* @var Composer\Autoload\ClassLoader $loader */
|
||||
$loader->add('Fenom', __DIR__ . '/cases');
|
||||
|
||||
require(__DIR__ . "/../src/Fenom.php");
|
||||
Fenom::registerAutoload();
|
||||
|
||||
define('FENOM_RESOURCES', __DIR__ . "/resources");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user