Test: fix status code order
This commit is contained in:
parent
7ac0e06abf
commit
bb34616a88
|
|
@ -46,8 +46,8 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Tests
|
||||||
|
|
||||||
public virtual async Task Invoke(HttpContext context)
|
public virtual async Task Invoke(HttpContext context)
|
||||||
{
|
{
|
||||||
await context.Response.WriteAsync("Request Handled");
|
|
||||||
context.Response.StatusCode = (int)HttpStatusCode.OK;
|
context.Response.StatusCode = (int)HttpStatusCode.OK;
|
||||||
|
await context.Response.WriteAsync("Request Handled");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,8 +45,8 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.Tests
|
||||||
|
|
||||||
public virtual async Task Invoke(HttpContext context)
|
public virtual async Task Invoke(HttpContext context)
|
||||||
{
|
{
|
||||||
await context.Response.WriteAsync("Request Handled");
|
|
||||||
context.Response.StatusCode = (int)HttpStatusCode.OK;
|
context.Response.StatusCode = (int)HttpStatusCode.OK;
|
||||||
|
await context.Response.WriteAsync("Request Handled");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue