Skip to content

Commit 741733e

Browse files
committed
Use Composer autoloader for tests
1 parent bc46167 commit 741733e

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
"React\\Socket\\": "src"
1515
}
1616
},
17+
"autoload-dev": {
18+
"psr-4": {
19+
"React\\Tests\\Socket\\": "tests"
20+
}
21+
},
1722
"extra": {
1823
"branch-alias": {
1924
"dev-master": "0.4-dev"

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="React Test Suite">

tests/bootstrap.php

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

0 commit comments

Comments
 (0)