Пример #1
0
 public AccessControllerShould(CustomWebApplicationFactory <CodeGolf.Web.Startup> fixture)
 {
     this.unAuthorisedClient = fixture.GetUnAuthorisedClient();
     this.authorisedClient   = fixture.GetAuthorisedNonAdmin();
 }
Пример #2
0
 public ApartmentControllerShould(CustomWebApplicationFactory <Startup> fixture)
 {
     this.unAuthorisedClient       = fixture.GetUnAuthorisedClient();
     this.authorisedNonAdminClient = fixture.GetAuthorisedNonAdmin();
 }