Use Composer autoload for unit tests.

This commit is contained in:
Justin Hileman
2014-03-25 08:19:46 -07:00
parent e9d4af3bbe
commit 84a4ff5b16
+2 -2
View File
@@ -9,7 +9,7 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
require dirname(__FILE__).'/../src/Mustache/Autoloader.php'; $loader = require dirname(__FILE__).'/../vendor/autoload.php';
Mustache_Autoloader::register(); $loader->add('Mustache_Test', dirname(__FILE__));
require dirname(__FILE__).'/../vendor/yaml/lib/sfYamlParser.php'; require dirname(__FILE__).'/../vendor/yaml/lib/sfYamlParser.php';