Fix test now that ServiceProvider throws a generic exception
aspnet/DependencyInjection#87
This commit is contained in:
parent
45dcd20268
commit
25bbfa7165
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue