set('app.debug', false); config()->set('panel.auth.2fa_required', 0); $this->setKnownUuidFactory(); $this->app->make(PermissionRegistrar::class)->forgetCachedPermissions(); } /** * Tear down tests. */ protected function tearDown(): void { restore_exception_handler(); restore_error_handler(); parent::tearDown(); Carbon::setTestNow(); CarbonImmutable::setTestNow(); } /** * Handles the known UUID handling in certain unit tests. Use the "MocksUuid" trait * in order to enable this ability. */ public function setKnownUuidFactory() { // do nothing } }