public async Task GetSingleById_Should_Return_NotFound(string url, int id) { //Arrange //Act var response = await HttpTestClient.GetAsync($"{url}{id}"); //Assert response.StatusCode.ShouldBe(System.Net.HttpStatusCode.NotFound); }
public async Task GetAll_Should_Return_Ok(string url) { //Arrange //Act var response = await HttpTestClient.GetAsync(url); //Assert response.StatusCode.ShouldBe(System.Net.HttpStatusCode.OK); }
public UsersTests(HttpTestClient http) { _http = http; }
public AdminBlogPostCommentsTests(HttpTestClient http) { _http = http; }
public AccountTests(HttpTestClient http) { _http = http; }
public SwaggerTests(HttpTestClient http) { _http = http; }
public BlogPostsTests(HttpTestClient http) { _http = http; }
public LoginFlowTest(HttpTestClient http) { _http = http; }
public BlogManagementFlowTest(HttpTestClient http) { _http = http; }