You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/MyTested.AspNetCore.Mvc.Controllers.Views.ActionResults.Test/BuildersTests/ActionsTests/ShouldReturnTests/ShouldReturnViewComponentTests.cs
+111-1Lines changed: 111 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,57 @@ public void ShouldReturnViewComponentShouldNotThrowExceptionWithCorrectViewCompo
@@ -52,6 +103,22 @@ public void ShouldReturnViewComponentShouldThrowExceptionWithIncorrectViewCompon
52
103
"When calling ViewComponentResultByName action in MvcController expected view component result to be 'Incorrect', but instead received 'TestComponent'.");
@@ -105,5 +183,37 @@ public void ShouldReturnViewComponentShouldThrowExceptionWithIncorrectViewCompon
105
183
},
106
184
"When calling ViewComponentResultByType action in MvcController expected view component result to be 'ViewComponent', but instead received 'CustomViewComponent'.");
"When calling ViewComponentResultByType action in MvcController expected view component result to be 'null', but instead received 'CustomViewComponent'.");
0 commit comments