Skip to content

Commit d78cddc

Browse files
committed
use the KERNEL_CLASS environment variable for PHPUnit
1 parent 766687e commit d78cddc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@
6060
"Http\\HttplugBundle\\": ""
6161
}
6262
},
63+
"autoload-dev": {
64+
"classmap": [
65+
"Tests/Resources/app/AppKernel.php"
66+
]
67+
},
6368
"scripts": {
6469
"test": "vendor/bin/phpunit",
6570
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@
2828

2929
<php>
3030
<server name="KERNEL_DIR" value="./Tests/Resources/app" />
31+
<server name="KERNEL_CLASS" value="AppKernel" />
3132
</php>
3233
</phpunit>

0 commit comments

Comments
 (0)