Addressed feedback from @rynowak
This commit is contained in:
parent
5ba74f500c
commit
2523d5d9ea
|
|
@ -60,8 +60,6 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
|
||||||
|
|
||||||
// The host is not important as everything runs in memory and tests are isolated from each other.
|
// The host is not important as everything runs in memory and tests are isolated from each other.
|
||||||
var result = await client.GetAsync("http://localhost/");
|
var result = await client.GetAsync("http://localhost/");
|
||||||
// Guard
|
|
||||||
Assert.NotNull(result);
|
|
||||||
var responseContent = await result.ReadBodyAsStringAsync();
|
var responseContent = await result.ReadBodyAsStringAsync();
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
|
|
@ -80,8 +78,6 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
var result = await client.GetAsync("http://localhost/Home/PlainView");
|
var result = await client.GetAsync("http://localhost/Home/PlainView");
|
||||||
// Guard
|
|
||||||
Assert.NotNull(result);
|
|
||||||
var responseContent = await result.ReadBodyAsStringAsync();
|
var responseContent = await result.ReadBodyAsStringAsync();
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue