getDriverName() === 'sqlite') { $pdo = DB::connection()->getPdo(); $pdo->sqliteCreateFunction('GREATEST', fn (...$args) => max($args), -1); $pdo->sqliteCreateFunction('LEAST', fn (...$args) => min($args), -1); } } protected function skipUnlessFortifyHas(string $feature, ?string $message = null): void { if (! Features::enabled($feature)) { $this->markTestSkipped($message ?? "Fortify feature [{$feature}] is not enabled."); } } }