This fixes the tests (must still upload test database).

This commit is contained in:
James Cole
2017-06-24 12:38:24 +02:00
parent 8e3ba7caf2
commit 5fbc319b20
8 changed files with 127 additions and 352 deletions

View File

@@ -77,7 +77,9 @@ class Import extends Command
$handler = new CommandHandler($this);
$monolog->pushHandler($handler);
$routine = new ImportRoutine($job);
/** @var ImportRoutine $routine */
$routine = app(ImportRoutine::class);
$routine->setJob($job);
$routine->run();
/** @var MessageBag $error */