Ignore some methods from code coverage
This commit is contained in:
parent
51034589bd
commit
427debaba4
2 changed files with 4 additions and 1 deletions
|
@ -6,6 +6,9 @@ use App\Models\Place;
|
|||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
class MigratePlaceDataFromPostgis extends Command
|
||||
{
|
||||
/**
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue