Skip to content

Commit

Permalink
Leave a locator "hack" for tests to pass.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertpustulka committed Sep 21, 2017
1 parent 684c121 commit 3b684c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Shell.php
Expand Up @@ -185,7 +185,7 @@ public function __construct(ConsoleIo $io = null)
}
$this->_io = $io ?: new ConsoleIo();

$this->modelFactory('Table', [$this->getTableLocator(), 'get']);
$this->modelFactory('Table', [$this->getTableLocator() ?: new TableLocator(), 'get']);
$this->Tasks = new TaskRegistry($this);

$this->_mergeVars(
Expand Down

0 comments on commit 3b684c8

Please sign in to comment.