Skip to content

Commit

Permalink
Fixed integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
DumitracheAdrian committed Apr 16, 2024
1 parent 18d6734 commit daf7f02
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

use Draw\Bundle\FrameworkExtraBundle\DependencyInjection\Integration\CronJobIntegration;
use Draw\Bundle\FrameworkExtraBundle\DependencyInjection\Integration\IntegrationInterface;
use Draw\Component\CronJob\Command\QueueCronJobByNameCommand;
use Draw\Component\CronJob\Command\QueueDueCronJobsCommand;
use Draw\Component\CronJob\CronJobExecutionFactory;
use Draw\Component\CronJob\CronJobProcessor;
use Draw\Component\CronJob\MessageHandler\ExecuteCronJobMessageHandler;
use PHPUnit\Framework\Attributes\CoversClass;
Expand Down Expand Up @@ -33,6 +36,24 @@ public static function provideTestLoad(): iterable
yield [
[],
[
new ServiceConfiguration(
'draw.cron_job.command.queue_cron_job_by_name_command',
[
QueueCronJobByNameCommand::class,
]
),
new ServiceConfiguration(
'draw.cron_job.command.queue_due_cron_jobs_command',
[
QueueDueCronJobsCommand::class,
]
),
new ServiceConfiguration(
'draw.cron_job.cron_job_execution_factory',
[
CronJobExecutionFactory::class,
]
),
new ServiceConfiguration(
'draw.cron_job.cron_job_processor',
[
Expand Down

0 comments on commit daf7f02

Please sign in to comment.