Skip to content

Commit efb5513

Browse files
authored
Merge pull request #5 from CakeDC/issue/dont-auto-load-config
Issue/dont auto load config
2 parents 038b117 + fa39b48 commit efb5513

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"type": "cakephp-plugin",
55
"require": {
66
"php": ">=7.2",
7-
"cakephp/cakephp": "^4.0.0"
7+
"cakephp/cakephp": "^4.0.0"
88
},
99
"require-dev": {
1010
"phpunit/phpunit": "^8.0",
11-
"cakephp/cakephp-codesniffer": "dev-next"
11+
"cakephp/cakephp-codesniffer": "^4.0.0"
1212
},
1313
"autoload": {
1414
"psr-4": {

src/TestSuite/Fixture/FixtureInjector.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ public function endTest(Test $test, float $time): void
157157
*/
158158
public function startTestSuite(TestSuite $suite): void
159159
{
160-
Configure::load('app', 'default', false);
161160
$database = ConnectionManager::get('test')->config();
162161
if (!empty($database) && get_class($suite) == 'PHPUnit\Framework\TestSuite') {
163162
try {

0 commit comments

Comments
 (0)