public ConcurrentDbContextTests(TestWebApplicationFactory <Startup> factory)
 {
     _loginService = factory.Services.GetService <ILoginService>();
     _userService  = factory.Services.GetService <IUser>();
 }
Пример #2
0
 public FapSqlParserTests(TestWebApplicationFactory <Startup> factory)
 {
     _dbContext = factory.Services.GetService <IDbContext>();
     _appDomain = factory.Services.GetService <IFapPlatformDomain>();
 }
Пример #3
0
 public DbContextTest(TestWebApplicationFactory <Startup> factory)
 {
     _dbContext = factory.Services.GetService <IDbContext>();
 }
Пример #4
0
 public SchedulerTest(TestWebApplicationFactory <Startup> factory)
 {
     _schedulerService = factory.Services.GetService <ISchedulerService>();
 }
Пример #5
0
 public GridFormTest(TestWebApplicationFactory <Startup> factory)
 {
     _gridFormService = factory.Services.GetService <IGridFormService>();
 }