Skip to content

Commit

Permalink
Simplify test bootstrapping logic via Composer
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Dec 21, 2017
1 parent a41bbff commit 031699e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
"phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35",
"clue/stream-filter": "~1.2"
},
"suggest": {
"react/event-loop": "^0.4"
},
"autoload": {
"psr-4": {
"React\\Stream\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"React\\Tests\\Stream\\": "tests"
}
}
}
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="tests/bootstrap.php"
bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="React Test Suite">
Expand Down
7 changes: 0 additions & 7 deletions tests/bootstrap.php

This file was deleted.

0 comments on commit 031699e

Please sign in to comment.