Skip to content

Commit f93f7dd

Browse files
authored
Merge pull request #126 from davidwdan/bootstrap
Moved test/bootstrap.php —> test/loop-auto-start.php
2 parents 9756162 + 676f303 commit f93f7dd

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

composer.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,14 @@
3535
"psr-4": { "Rx\\": "src" }
3636
},
3737
"autoload-dev": {
38-
"files" : ["src/bootstrap.php"]
38+
"files": [
39+
"test/loop-auto-start.php",
40+
"test/helper-functions.php"
41+
],
42+
"psr-4": {
43+
"CustomOperatorTest\\Rx\\Operator\\": "test/CustomOperatorTest",
44+
"Rx\\": "test/Rx"
45+
}
3946
},
4047
"extra": {
4148
"branch-alias": {

test/bootstrap.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@
1010
*/
1111

1212
if (file_exists($file = __DIR__ . '/../vendor/autoload.php')) {
13-
$loader = require $file;
14-
$loader->add('Rx', __DIR__);
15-
$loader->addPsr4('CustomOperatorTest\\Rx\\Operator\\', __DIR__ . '/CustomOperatorTest');
16-
require_once __DIR__ . '/helper-functions.php';
17-
require_once __DIR__ . '/../vendor/async-interop/event-loop/test/DummyDriver.php';
13+
require $file;
1814
} else {
1915
throw new RuntimeException('Install dependencies to run test suite.');
2016
}
File renamed without changes.

0 commit comments

Comments
 (0)