fix
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 4m27s
Docker Build & Deploy / Deploy to Production (push) Successful in 7s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s

This commit is contained in:
SunCheng
2026-02-11 13:00:01 +08:00
parent ca3e929770
commit 51172e8c5a
88 changed files with 10076 additions and 142 deletions

View File

@@ -10,17 +10,15 @@ public class JobApplicationTest : BaseApplicationTest
{
private readonly ISchedulerFactory _schedulerFactory;
private readonly IScheduler _scheduler;
private readonly ILogger<JobApplication> _logger;
private readonly JobApplication _application;
public JobApplicationTest()
{
_schedulerFactory = Substitute.For<ISchedulerFactory>();
_scheduler = Substitute.For<IScheduler>();
_logger = CreateMockLogger<JobApplication>();
_schedulerFactory.GetScheduler().Returns(_scheduler);
_application = new JobApplication(_schedulerFactory, _logger);
_application = new JobApplication(_schedulerFactory);
}
#region GetJobsAsync Tests