-
- Downloads
cron: refactor and add unit tests
Move the job execution into manager so it can be tested
Showing
- src/Cron/CronCommand.php 1 addition, 15 deletionssrc/Cron/CronCommand.php
- src/Cron/CronListCommand.php 1 addition, 1 deletionsrc/Cron/CronListCommand.php
- src/Cron/CronManager.php 46 additions, 25 deletionssrc/Cron/CronManager.php
- tests/Cron/CronJob.php 48 additions, 0 deletionstests/Cron/CronJob.php
- tests/Cron/CronTest.php 72 additions, 5 deletionstests/Cron/CronTest.php
tests/Cron/CronJob.php
0 → 100644
Please register or sign in to comment