Ignore some methods from code coverage

This commit is contained in:
Jonny Barnes 2022-04-17 09:46:50 +01:00
parent 51034589bd
commit 427debaba4
2 changed files with 4 additions and 1 deletions

View file

@ -6,6 +6,9 @@ use App\Models\Place;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\DB;
/**
* @codeCoverageIgnore
*/
class MigratePlaceDataFromPostgis extends Command
{
/**

View file

@ -22,11 +22,11 @@ class Kernel extends ConsoleKernel
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
* @codeCoverageIgnore
*/
protected function schedule(Schedule $schedule)
{
$schedule->command('horizon:snapshot')->everyFiveMinutes();
$schedule->command('telescope:prune --hours=48')->daily();
}
/**