Use native autoloader in tests

This commit is contained in:
bzick 2014-05-06 10:32:49 +04:00
parent 783bf10b39
commit 6f969ee124

View File

@ -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");