Skip to content

Commit 049ed69

Browse files
committed
Add missing null check
1 parent 39668c7 commit 049ed69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/TestBuildingBlocks/ServiceCollectionExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ internal static class ServiceCollectionExtensions
1010
public static void ReplaceControllers(this IServiceCollection services, TestControllerProvider provider)
1111
{
1212
ArgumentNullException.ThrowIfNull(services);
13+
ArgumentNullException.ThrowIfNull(provider);
1314

1415
services.AddMvcCore().ConfigureApplicationPartManager(manager =>
1516
{

0 commit comments

Comments
 (0)