Fix EngineTests that weren't using the appropriate ServiceContext

- This meant that the affected tests weren't run with the NoOpConnectionFilter
This commit is contained in:
Stephen Halter 2015-10-07 17:25:10 -07:00
parent 1f50f4c2a8
commit cd1c80daa7
1 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,7 @@ namespace Microsoft.AspNet.Server.KestrelTests
[MemberData(nameof(ConnectionFilterData))]
public async Task Http10KeepAliveContentLength(ServiceContext testContext)
{
using (var server = new TestServer(AppChunked))
using (var server = new TestServer(AppChunked, testContext))
{
using (var connection = new TestConnection())
{
@ -327,7 +327,7 @@ namespace Microsoft.AspNet.Server.KestrelTests
[MemberData(nameof(ConnectionFilterData))]
public async Task Http10KeepAliveTransferEncoding(ServiceContext testContext)
{
using (var server = new TestServer(AppChunked))
using (var server = new TestServer(AppChunked, testContext))
{
using (var connection = new TestConnection())
{