public async void Gets_city_by_country() { var client = _factory.CreateClient(); var response = await client.GetAsync("user/city/by-country/1"); string responseString = await response.Content.ReadAsStringAsync(); Assert.Contains("Novi Sad", responseString); }
public async void Finds_patient() { var client = _factory.CreateClient(); var response = await client.GetAsync("user/patient/1"); string responseString = await response.Content.ReadAsStringAsync(); Assert.Contains("\"id\":1", responseString); }
public async void Gets_all_doctors() { var client = _factory.CreateClient(); var response = await client.GetAsync("user/doctor"); string responseString = await response.Content.ReadAsStringAsync(); Assert.Contains("\"id\":1", responseString); }