From c9f7fe62485fdd920ee0fdb095e91df0841018dc Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Tue, 22 May 2012 22:15:05 +0200 Subject: [PATCH] Fixed the PHPUnit bootstrap to avoid using a deprecated file --- Tests/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/bootstrap.php b/Tests/bootstrap.php index 8e93a19..54345bb 100644 --- a/Tests/bootstrap.php +++ b/Tests/bootstrap.php @@ -6,7 +6,7 @@ function includeIfExists($file) { } } -if ((!$loader = includeIfExists(__DIR__.'/../vendor/.composer/autoload.php')) && (!$loader = includeIfExists(__DIR__.'/../../../../../.composer/autoload.php'))) { +if ((!$loader = includeIfExists(__DIR__.'/../vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__.'/../../../../../autoload.php'))) { die('You must set up the project dependencies, run the following commands:'.PHP_EOL. 'curl -s http://getcomposer.org/installer | php'.PHP_EOL. 'php composer.phar install'.PHP_EOL);