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