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