Merge pull request #322 from Boy132/fix/make-user-db-test

Replace DB check in MakeUserCommand
This commit is contained in:
Lance Pioch 2024-06-04 17:33:47 -04:00 committed by GitHub
commit 6166fac929
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,7 +30,7 @@ class MakeUserCommand extends Command
public function handle(): int public function handle(): int
{ {
try { try {
DB::select('select 1 where 1'); DB::connection()->getPdo();
} catch (Exception $exception) { } catch (Exception $exception) {
$this->error($exception->getMessage()); $this->error($exception->getMessage());