From 74dbf8884b503477f2869d7fbd05f89246472a3e Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 7 Jul 2023 15:41:52 +1000 Subject: [PATCH] Tests for package discovery --- app/Console/Kernel.php | 4 ++-- routes/console.php | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index b87ea25c7a77..5590f81043d6 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -130,8 +130,8 @@ class Kernel extends ConsoleKernel */ protected function commands() { - $this->load(__DIR__.'/Commands'); + // $this->load(__DIR__.'/Commands'); - require base_path('routes/console.php'); + // require base_path('routes/console.php'); } } diff --git a/routes/console.php b/routes/console.php index 75dd0cdedbe2..41e4c31bb126 100644 --- a/routes/console.php +++ b/routes/console.php @@ -11,8 +11,4 @@ use Illuminate\Foundation\Inspiring; | commands. Each Closure is bound to a command instance allowing a | simple approach to interacting with each command's IO methods. | -*/ - -Artisan::command('inspire', function () { - $this->comment(Inspiring::quote()); -})->describe('Display an inspiring quote'); +*/ \ No newline at end of file