Updated packages and fixed build errors and tests..now need to update nuspec

This commit is contained in:
tom.pallister
2017-01-11 17:23:34 +00:00
parent 536db48049
commit b2d33f0ec5
12 changed files with 271 additions and 242 deletions

View File

@ -132,8 +132,8 @@ namespace Ocelot.AcceptanceTests
using (var httpClient = new HttpClient())
{
var response = httpClient.PostAsync(tokenUrl, content).Result;
response.EnsureSuccessStatusCode();
var responseContent = response.Content.ReadAsStringAsync().Result;
response.EnsureSuccessStatusCode();
_token = JsonConvert.DeserializeObject<BearerToken>(responseContent);
}
}