Exemplo n.º 1
0
 public StudentControllerTests(TestingWebAppFactory <Startup> factory)
 {
     _client            = factory.CreateClient();
     _courseRepository  = factory.Resolve <ICourseRepository>();
     _groupRepository   = factory.Resolve <IGroupRepository>();
     _studentRepository = factory.Resolve <IStudentRepository>();
 }
 public CourseControllerTests(TestingWebAppFactory <Startup> factory)
 {
     _client           = factory.CreateClient();
     _courseRepository = factory.Resolve <ICourseRepository>();
 }