Skip to content

Commit affda57

Browse files
authored
Merge pull request #53 from clue-labs/tests
Simplify test bootstrapping logic via Composer
2 parents 0b55c95 + fc3b797 commit affda57

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@
1515
},
1616
"autoload": {
1717
"psr-4": { "React\\ChildProcess\\": "src" }
18+
},
19+
"autoload-dev": {
20+
"psr-4": { "React\\Tests\\ChildProcess\\": "tests" }
1821
}
1922
}

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)