Permalink
Browse files

properly include twig in unit test setup

  • Loading branch information...
1 parent b31e984 commit 9e76e5a907d042a084ed284b42934df2bddf54e0 @lsmith77 lsmith77 committed Dec 19, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 Tests/autoload.php.dist
  2. +1 −1 vendor/vendors.php
View
2 Tests/autoload.php.dist
@@ -11,7 +11,7 @@ $loader->registerNamespaces(array(
'Imagine' => array($vendorDir.'/imagine/lib'),
));
$loader->registerPrefixes(array(
- 'Twig_' => __DIR__.'/vendor/twig/lib',
+ 'Twig_' => $vendorDir.'/twig/lib',
));
$loader->register();
View
2 vendor/vendors.php
@@ -11,7 +11,7 @@
$deps = array(
array('symfony', 'http://github.com/symfony/symfony', isset($_SERVER['SYMFONY_VERSION']) ? $_SERVER['SYMFONY_VERSION'] : 'origin/master'),
array('imagine', 'http://github.com/avalanche123/Imagine', 'v0.2.6'),
- array('twig', 'http://github.com/fabpot/twig', 'origin/master'),
+ array('twig', 'http://github.com/fabpot/Twig', 'origin/master'),
);
foreach ($deps as $dep) {

0 comments on commit 9e76e5a

Please sign in to comment.