Skip to content

Commit f384ec6

Browse files
committed
made usage of Composer autoloader for subtree-split unit tests
1 parent ef5f0ab commit f384ec6

File tree

4 files changed

+8
-20
lines changed

4 files changed

+8
-20
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
vendor/
2+
composer.lock
3+
phpunit.xml
4+

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,6 @@ Resources
4040

4141
You can run the unit tests with the following command:
4242

43-
phpunit
43+
$ cd path/to/Symfony/Component/Filesystem/
44+
$ composer.phar install --dev
45+
$ phpunit

Tests/bootstrap.php

Lines changed: 0 additions & 18 deletions
This file was deleted.

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
processIsolation="false"
1010
stopOnFailure="false"
1111
syntaxCheck="false"
12-
bootstrap="Tests/bootstrap.php"
12+
bootstrap="vendor/autoload.php"
1313
>
1414
<testsuites>
1515
<testsuite name="Symfony Filesystem Component Test Suite">

0 commit comments

Comments
 (0)