From dbdf2e66ba34c2ad83bdbb5122623600e5415052 Mon Sep 17 00:00:00 2001 From: Victor Hurdugaci Date: Wed, 3 Dec 2014 13:09:44 -0800 Subject: [PATCH] Update message from DI exception --- .../ViewComponents/JsonViewComponentResultTest.cs | 2 +- .../ViewComponents/ViewViewComponentResultTest.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Microsoft.AspNet.Mvc.Core.Test/ViewComponents/JsonViewComponentResultTest.cs b/test/Microsoft.AspNet.Mvc.Core.Test/ViewComponents/JsonViewComponentResultTest.cs index 80643e1d0f..75b3f73e9c 100644 --- a/test/Microsoft.AspNet.Mvc.Core.Test/ViewComponents/JsonViewComponentResultTest.cs +++ b/test/Microsoft.AspNet.Mvc.Core.Test/ViewComponents/JsonViewComponentResultTest.cs @@ -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(); diff --git a/test/Microsoft.AspNet.Mvc.Core.Test/ViewComponents/ViewViewComponentResultTest.cs b/test/Microsoft.AspNet.Mvc.Core.Test/ViewComponents/ViewViewComponentResultTest.cs index e73137b341..af40cc7010 100644 --- a/test/Microsoft.AspNet.Mvc.Core.Test/ViewComponents/ViewViewComponentResultTest.cs +++ b/test/Microsoft.AspNet.Mvc.Core.Test/ViewComponents/ViewViewComponentResultTest.cs @@ -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();