Skip to content

Commit ee87db2

Browse files
committed
Make phpunit runnable when invoked with just "phpunit"
1 parent 349218f commit ee87db2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/autoload.php.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
$vendorDir = __DIR__ . '/../vendor';
44

5-
if (!@include($vendorDir . '/.composer/autoload.php')) {
5+
if (!@include($vendorDir . '/autoload.php')) {
66
die("You must set up the project dependencies, run the following commands:
77
wget http://getcomposer.org/composer.phar
88
php composer.phar install

phpunit.xml.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
processIsolation="false"
1010
stopOnFailure="false"
1111
syntaxCheck="false"
12-
bootstrap="./../../../../app/bootstrap.php.cache"
12+
bootstrap="./Tests/bootstrap.php"
1313
>
1414

1515
<testsuites>

0 commit comments

Comments
 (0)