app->runningInConsole()) { $this->bootTestCache(); $this->bootTestDatabase(); $this->bootTestViews(); } } /** * Register the service provider. * * @return void */ public function register() { if ($this->app->runningInConsole()) { $this->app->singleton(ParallelTesting::class, function () { return new ParallelTesting($this->app); }); } } }