public AddressTests(InMemoryWebApplicationFactory <Startup> factory)
 {
     this.factory = factory;
     baseEndpoint = "api/Addresses";
 }
 public ArtistControllerTests(InMemoryWebApplicationFactory <Startup> factory)
 {
     _factory = factory;
 }
Example #3
0
 public CharacterControllerTests(InMemoryWebApplicationFactory <Startup> factory)
 {
     _factory = factory;
     _client  = factory.CreateClient();
 }
Example #4
0
 public MovieControllerTest(InMemoryWebApplicationFactory <Startup> factory)
 {
     this.factory = factory;
 }
 public OrdersTests(InMemoryWebApplicationFactory <Startup> factory, ITestOutputHelper output)
 {
     this.factory = factory;
     this.output  = output;
     baseEndpoint = "api/orders";
 }
Example #6
0
 public UserControllerTests(InMemoryWebApplicationFactory <Startup> factory, ITestOutputHelper outputHelper)
 {
     _factory = factory;
     _factory.SetTestOutputHelper(outputHelper);
 }
 public ShipmentsControllerTests(InMemoryWebApplicationFactory <Startup> factory)
 {
     this.factory = factory;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MessagesControllerIntegrationTests"/> class.
 /// </summary>
 public MessagesControllerIntegrationTests()
 {
     this.factory = new InMemoryWebApplicationFactory <Startup>();
     this.client  = this.factory.CreateClient();
     this.uri     = new Uri("http://localhost/api/v1/Messages");
 }
Example #9
0
 public ActivityControllerIntegrationTests(InMemoryWebApplicationFactory <Startup> factory, ITestOutputHelper output)
 {
     _client = factory.CreateClient();
     _output = output;
 }
Example #10
0
 public ItemControllerTests(InMemoryWebApplicationFactory <Startup> factory, ITestOutputHelper outputHelper)
 {
     _factory = factory;
     //now we get detailed error messages every time the test throw an error
     _factory.SetTestOutputHelper(outputHelper);
 }
Example #11
0
 public ItemControllerTests()
 {
     _factory = new InMemoryWebApplicationFactory <Startup>();
 }
Example #12
0
 public CharmCategoriesTests(InMemoryWebApplicationFactory <Startup> factory)
 {
     this.factory = factory;
     baseEndpoint = "/api/CharmCategories";
 }
Example #13
0
 public ResponseTimeMiddlewareTests(InMemoryWebApplicationFactory <Startup> factory)
 {
     _factory = factory;
 }