Skip to content

Commit 3a35f70

Browse files
authored
Merge pull request #127 from clue-labs/tests
Simplify test bootstrapping logic via Composer
2 parents 6f1e608 + 031699e commit 3a35f70

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@
1212
"phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35",
1313
"clue/stream-filter": "~1.2"
1414
},
15-
"suggest": {
16-
"react/event-loop": "^0.4"
17-
},
1815
"autoload": {
1916
"psr-4": {
2017
"React\\Stream\\": "src"
2118
}
19+
},
20+
"autoload-dev": {
21+
"psr-4": {
22+
"React\\Tests\\Stream\\": "tests"
23+
}
2224
}
2325
}

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)