Merge pull request #6883 from pixelfed/shleeable-patch-1

Revert strict tests in nonprod
pull/6884/head
Shlee 4 weeks ago committed by GitHub
commit 7fa0615448
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -177,9 +177,9 @@ class AppServiceProvider extends ServiceProvider
URL::forceRootUrl(config('app.url'));
// Enable strict testing in dev/test only (false in production)
Model::preventLazyLoading(! $this->app->isProduction());
Model::preventSilentlyDiscardingAttributes(! $this->app->isProduction());
Model::preventAccessingMissingAttributes(! $this->app->isProduction());
// Model::preventLazyLoading(! $this->app->isProduction());
// Model::preventSilentlyDiscardingAttributes(! $this->app->isProduction());
// Model::preventAccessingMissingAttributes(! $this->app->isProduction());
}
/**

Loading…
Cancel
Save