private async Task <ErrorResponse> EndToEndTestWithError(string id, string leftData, string rightData) { await SetupData(id, leftData, rightData); var diffResponse = await _client.GetAsync(IntegrationTestsHelper.GetDiffUrl(id)); return(JsonConvert.DeserializeObject <ErrorResponse>(await diffResponse.Content.ReadAsStringAsync())); }
private async Task <ComparisonResponse> CallDiff(string id) { var diffResponse = await _client.GetAsync(IntegrationTestsHelper.GetDiffUrl(id)); return(JsonConvert.DeserializeObject <ComparisonResponse>(await diffResponse.Content.ReadAsStringAsync())); }