Skip to content

Commit

Permalink
Merge pull request #5 from CakeDC/issue/dont-auto-load-config
Browse files Browse the repository at this point in the history
Issue/dont auto load config
  • Loading branch information
steinkel authored May 21, 2020
2 parents 038b117 + fa39b48 commit efb5513
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"type": "cakephp-plugin",
"require": {
"php": ">=7.2",
"cakephp/cakephp": "^4.0.0"
"cakephp/cakephp": "^4.0.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0",
"cakephp/cakephp-codesniffer": "dev-next"
"cakephp/cakephp-codesniffer": "^4.0.0"
},
"autoload": {
"psr-4": {
Expand Down
1 change: 0 additions & 1 deletion src/TestSuite/Fixture/FixtureInjector.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ public function endTest(Test $test, float $time): void
*/
public function startTestSuite(TestSuite $suite): void
{
Configure::load('app', 'default', false);
$database = ConnectionManager::get('test')->config();
if (!empty($database) && get_class($suite) == 'PHPUnit\Framework\TestSuite') {
try {
Expand Down

0 comments on commit efb5513

Please sign in to comment.