public async Task TestGetAllGroupsWithQuestions() { using (var client = new TestClientProvider().Client) { var response = await client.GetAsync("/api/faq/groupsWithQuestions"); response.EnsureSuccessStatusCode(); response.StatusCode.Should().Be(HttpStatusCode.OK); } }
public async Task TestSearch() { using (var client = new TestClientProvider().Client) { var response = await client.GetAsync("/api/faq/search/some string"); response.EnsureSuccessStatusCode(); response.StatusCode.Should().Be(HttpStatusCode.OK); } }