Skip to content

Commit 1b66abb

Browse files
committed
Fixing test infrastructure to mirror change in client creation
1 parent 3b21cc3 commit 1b66abb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public TClient CreateClient<TClient>(AzureContext context, AzureEnvironment.Endp
5555

5656
public TClient CreateClient<TClient>(AzureProfile profile, AzureEnvironment.Endpoint endpoint) where TClient : ServiceClient<TClient>
5757
{
58-
throw new NotImplementedException();
58+
return CreateClient<TClient>(profile, profile.Context.Subscription, endpoint);
5959
}
6060

6161
public TClient CreateClient<TClient>(AzureProfile profile, AzureSubscription subscription, AzureEnvironment.Endpoint endpoint) where TClient : ServiceClient<TClient>

0 commit comments

Comments
 (0)