Fix test now that ServiceProvider throws a generic exception

aspnet/DependencyInjection#87
This commit is contained in:
Stephen Halter 2014-06-11 12:14:37 -07:00
parent 45dcd20268
commit 25bbfa7165
1 changed files with 1 additions and 3 deletions

View File

@ -66,9 +66,7 @@ namespace Microsoft.AspNet.TestHost.Tests
.BuildServiceProvider();
// Act & Assert
Assert.Throws<ArgumentException>(
"serviceProvider",
() => TestServer.Create(services, new Startup().Configuration));
Assert.Throws<Exception>(() => TestServer.Create(services, new Startup().Configuration));
}
public class Startup