Skip to content
Permalink
Browse files

Fixed ConsoleIntegrationTestCase failing to load user bootstrap files

  • Loading branch information...
jeremyharris committed May 3, 2018
1 parent 836da74 commit 1cc085d8d7607e621cee8a22ef14e0e47d8f39f9
@@ -253,7 +253,7 @@ protected function _makeRunner()
if ($this->_useCommandRunner) {
$applicationClassName = Configure::read('App.namespace') . '\Application';
return new CommandRunner(new $applicationClassName([CONFIG]));
return new CommandRunner(new $applicationClassName(CONFIG));
}
return new LegacyCommandRunner();
@@ -19,17 +19,6 @@
class Application extends BaseApplication
{
/**
* Bootstrap hook.
*
* Nerfed as this is for IntegrationTestCase testing.
*
* @return void
*/
public function bootstrap()
{
// Do nothing.
}
public function middleware($middleware)
{
@@ -0,0 +1,2 @@
<?php
// Do nothing

0 comments on commit 1cc085d

Please sign in to comment.
You can’t perform that action at this time.