When I run in terminal php artisan migrate
this results in \'Nothing to migrate\' when indeed there is nothing to migrate.
When I use Artisan::call(\'
Late but might be of use to someone searching for the use case.
Let me add how i did it in my tests to print the results to console. my problem was printing output while tests are running migrations. i was using modules and wanted to see the results of the migration process.
$this->artisan('module:migrate');
//same as running php artisan module:migrate or
// $this->app['Illuminate\Contracts\Console\Kernel']->call('module:migrate');
echo $this->app['Illuminate\Contracts\Console\Kernel']->output();