Update message from DI exception
This commit is contained in:
parent
7b20909a60
commit
dbdf2e66ba
|
|
@ -70,7 +70,7 @@ namespace Microsoft.AspNet.Mvc
|
|||
public void Execute_Throws_IfNoFormatterCanBeResolved()
|
||||
{
|
||||
// Arrange
|
||||
var expected = "TODO: No service for type 'Microsoft.AspNet.Mvc.JsonOutputFormatter'" +
|
||||
var expected = "No service for type 'Microsoft.AspNet.Mvc.JsonOutputFormatter'" +
|
||||
" has been registered.";
|
||||
|
||||
var view = Mock.Of<IView>();
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ namespace Microsoft.AspNet.Mvc
|
|||
public async Task ExecuteAsync_Throws_IfNoViewEngineCanBeResolved()
|
||||
{
|
||||
// Arrange
|
||||
var expected = "TODO: No service for type 'Microsoft.AspNet.Mvc.Rendering.ICompositeViewEngine'" +
|
||||
var expected = "No service for type 'Microsoft.AspNet.Mvc.Rendering.ICompositeViewEngine'" +
|
||||
" has been registered.";
|
||||
|
||||
var view = Mock.Of<IView>();
|
||||
|
|
|
|||
Loading…
Reference in New Issue