File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/MyTested.AspNetCore.Mvc.Controllers Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 22{
33 using System ;
44 using System . Linq . Expressions ;
5+ using Builders . Contracts . Actions ;
56 using Builders . Contracts . Controllers ;
67 using Builders . Controllers ;
78 using Internal . Application ;
89 using Internal . TestContexts ;
9- using MyTested . AspNetCore . Mvc . Builders . Contracts . Actions ;
1010
1111 /// <summary>
1212 /// Provides methods to specify an ASP.NET Core MVC controller test case.
@@ -66,13 +66,13 @@ public static IControllerBuilder<TController> Instance(TController controller)
6666 public static IControllerBuilder < TController > Instance ( Func < TController > construction )
6767 => new MyController < TController > ( construction ) ;
6868
69-
7069 /// <summary>
71- /// Starts a controller test .
70+ /// Indicates which action should be invoked and tested .
7271 /// </summary>
73- /// <param name="actionCall">Construction function returning the instantiated controller.</param>
72+ /// <typeparam name="TActionResult">Type of result from action.</typeparam>
73+ /// <param name="actionCall">Method call expression indicating invoked action.</param>
7474 /// <returns>Test builder of <see cref="IActionResultTestBuilder{TActionResult}"/> type.</returns>
7575 public new static IActionResultTestBuilder < TActionResult > Calling < TActionResult > ( Expression < Func < TController , TActionResult > > actionCall )
76- => Instance ( ( TController ) null ) . Calling ( actionCall ) ;
76+ => Instance ( ) . Calling ( actionCall ) ;
7777 }
7878}
You can’t perform that action at this time.
0 commit comments