Skip to content

Commit f5b9356

Browse files
author
Hovsep Mkrtchyan
committed
Fixed ASM mock tests build failure for Resource Library
1 parent dce7a1a commit f5b9356

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/ServiceManagement/Services/Commands.Test/Profile/ProfileClientHelper.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,14 @@ public static MockCsmSubscriptionOperations Create(IList<string> knownSubscripti
254254
return Task.FromResult(result);
255255
}
256256

257+
public Task<Azure.Subscriptions.Models.LocationListResult> ListLocationsAsync(string subscriptionId, System.Threading.CancellationToken cancellationToken)
258+
{
259+
var result = new Azure.Subscriptions.Models.LocationListResult();
260+
result.Locations = new List<Azure.Subscriptions.Models.Location>();
261+
262+
return Task.FromResult(result);
263+
}
264+
257265
private static Azure.Subscriptions.Models.Subscription CreateSubscription(string subscriptionId)
258266
{
259267
return new Azure.Subscriptions.Models.Subscription

0 commit comments

Comments
 (0)