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