Skip to content

Commit a9d2082

Browse files
committed
Merge pull request #164 from localheinz/fix/autoloading
Fix: Autoload test resources with Composer
2 parents d6a1d6d + f5e34e4 commit a9d2082

File tree

3 files changed

+4
-30
lines changed

3 files changed

+4
-30
lines changed

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
"autoload": {
4747
"psr-0": { "JsonSchema": "src/" }
4848
},
49+
"autoload-dev": {
50+
"psr-0": { "JsonSchema": "tests/" }
51+
},
4952
"bin": ["bin/validate-json"],
5053
"extra": {
5154
"branch-alias": {

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
verbose="true"
1414
>
1515
<testsuites>

tests/bootstrap.php

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

0 commit comments

Comments
 (0)