comment('2fauth:reset-testing can only run when isTestingApp option is On'); return; } if( $this->option('no-confirm') ) { $testing = 'testing'; } else { $this->line('This will reset the app in order to run a clean and fresh testing app.'); $testing = $this->ask('To prevent any mistake please type the word "testing" to go on'); } if ($testing === 'testing') { $this->resetIcons(); $this->resetDB('TestingSeeder'); $this->info('Testing app refreshed'); } else { $this->comment('Bad confirmation word, nothing appened'); } } }