File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,12 @@ namespace MyWebApi
2727 /// </summary>
2828 public static class MyWebApi
2929 {
30+ internal static HttpConfiguration Configuration { get ; private set ; }
31+
32+ /// <summary>
33+ /// Sets the HttpConfiguration which will be used in all tests.
34+ /// </summary>
35+ /// <param name="httpConfiguration">HttpConfiguration instance used in the testing.</param>
3036 public static void IsUsing ( HttpConfiguration httpConfiguration )
3137 {
3238 Configuration = httpConfiguration ;
@@ -68,7 +74,5 @@ public static IControllerBuilder<TController> Controller<TController>(Func<TCont
6874 var controllerInstance = construction ( ) ;
6975 return new ControllerBuilder < TController > ( controllerInstance ) ;
7076 }
71-
72- internal static HttpConfiguration Configuration { get ; private set ; }
7377 }
7478}
You can’t perform that action at this time.
0 commit comments