[HttpKernel] fixed some unit tests

This commit is contained in:
Fabien Potencier 2012-11-12 14:30:42 +01:00
parent c94bdf6bdf
commit 966053069d

View File

@ -21,7 +21,7 @@ class TestClient extends Client
$autoload = file_exists(__DIR__.'/../../vendor/autoload.php')
? __DIR__.'/../../vendor/autoload.php'
: __DIR__.'/../../../../../../../../autoload.php'
: __DIR__.'/../../../../../../vendor/autoload.php'
;
$script = preg_replace('/(\->register\(\);)/', "$0\nrequire_once '$autoload';\n", $script);