File tree Expand file tree Collapse file tree
OnTopic.AspNetCore.Mvc.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ public static ActionExecutingContext GetActionExecutingContext(Controller contro
6161 /// <summary>
6262 /// Generates a barebones <see cref="ControllerContext"/> for testing a controller.
6363 /// </summary>
64+ #pragma warning disable CA1024 // Use properties where appropriate
6465 public static ControllerContext GetControllerContext ( ) =>
6566 new (
6667 new ( ) {
@@ -69,6 +70,7 @@ public static ControllerContext GetControllerContext() =>
6970 ActionDescriptor = new ControllerActionDescriptor ( )
7071 }
7172 ) ;
73+ #pragma warning restore CA1024 // Use properties where appropriate
7274
7375 /*==========================================================================================================================
7476 | METHOD: GET TOPIC CONTROLLER
You can’t perform that action at this time.
0 commit comments