Skip to content

Commit 07fb0b6

Browse files
committed
replace phpunit custom bootstrap by autoload-dev
1 parent 32f7a30 commit 07fb0b6

File tree

3 files changed

+10
-20
lines changed

3 files changed

+10
-20
lines changed

composer.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,13 @@
3131
},
3232
"autoload": {
3333
"psr-4": { "Gitlab\\": "lib/Gitlab/" }
34+
},
35+
"autoload-dev": {
36+
"psr-4": { "Gitlab\\Tests\\": "test/Gitlab/Tests/" }
37+
},
38+
"extra": {
39+
"branch-alias": {
40+
"dev-master": "9.0.x-dev"
41+
}
3442
}
3543
}

phpunit.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
processIsolation="false"
1010
stopOnFailure="false"
1111
syntaxCheck="false"
12-
bootstrap="test/bootstrap.php"
12+
bootstrap="vendor/autoload.php"
1313
>
1414
<testsuites>
1515
<testsuite name="php-gitlab-api Test Suite">
@@ -22,4 +22,4 @@
2222
<directory suffix=".php">./lib/Gitlab/</directory>
2323
</whitelist>
2424
</filter>
25-
</phpunit>
25+
</phpunit>

test/bootstrap.php

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

0 commit comments

Comments
 (0)