Tests for package discovery

This commit is contained in:
David Bomba 2023-07-07 15:41:52 +10:00
parent 25f8bac85f
commit 74dbf8884b
2 changed files with 3 additions and 7 deletions

View File

@ -130,8 +130,8 @@ class Kernel extends ConsoleKernel
*/ */
protected function commands() protected function commands()
{ {
$this->load(__DIR__.'/Commands'); // $this->load(__DIR__.'/Commands');
require base_path('routes/console.php'); // require base_path('routes/console.php');
} }
} }

View File

@ -12,7 +12,3 @@ use Illuminate\Foundation\Inspiring;
| simple approach to interacting with each command's IO methods. | simple approach to interacting with each command's IO methods.
| |
*/ */
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
})->describe('Display an inspiring quote');