Skip to content

Commit ff23f3f

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

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
@@ -10,4 +10,6 @@ Resources
1010

1111
You can run the unit tests with the following command:
1212

13-
phpunit
13+
$ cd path/to/Symfony/Component/Serializer/
14+
$ composer.phar install --dev
15+
$ 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 Serializer Component Test Suite">

0 commit comments

Comments
 (0)