Use native autoloader in tests

This commit is contained in:
bzick 2014-05-06 10:32:49 +04:00
parent 783bf10b39
commit 6f969ee124
1 changed files with 2 additions and 4 deletions

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