Skip to content

Commit 540a2bb

Browse files
committed
remove lines used for debugging purpose
1 parent 37c9f51 commit 540a2bb

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureDedicatedCircuitTests.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,11 @@ public void NewAzureDedicatedCircuitSuccessful()
102102
var tUpdate = new Task<ExpressRouteOperationStatusResponse>(() => expectedUpdateStatus);
103103
tUpdate.Start();
104104

105-
//Task<ExpressRouteOperationStatusResponse> NewAsync(DedicatedCircuitNewParameters parameters, CancellationToken cancellationToken);
106-
dcMock.Setup(f => f.NewAsync(It.Is<DedicatedCircuitNewParameters>(x => x.Bandwidth == bandwidth && x.CircuitName == circuitName && x.Location == location && x.ServiceProviderName == serviceProviderName),
105+
dcMock.Setup(f => f.NewAsync(It.Is<DedicatedCircuitNewParameters>(x => x.Bandwidth == bandwidth &&
106+
x.CircuitName == circuitName && x.Location == location && x.ServiceProviderName == serviceProviderName),
107107
It.IsAny<CancellationToken>())).Returns((DedicatedCircuitNewParameters param, CancellationToken cancellation) => tNew);
108-
dcMock.Setup(f => f.GetAsync(It.Is<string>(sKey => sKey == serviceKey), It.IsAny<CancellationToken>())).Returns((string sKey, CancellationToken cancellation) => tGet);
109108

110-
//Task<ExpressRouteOperationStatusResponse> UpdateAsync(string serviceKey, DedicatedCircuitUpdateParameters parameters, CancellationToken cancellationToken);
111-
// UpdateAsync(this IDedicatedCircuitOperations operations, string serviceKey, DedicatedCircuitUpdateParameters parameters)
109+
dcMock.Setup(f => f.GetAsync(It.Is<string>(sKey => sKey == serviceKey), It.IsAny<CancellationToken>())).Returns((string sKey, CancellationToken cancellation) => tGet);
112110

113111
dcMock.Setup(f => f.UpdateAsync(It.Is<string>(sKey => sKey == serviceKey),
114112
It.Is<DedicatedCircuitUpdateParameters>(y => y.Bandwidth == bandwidth.ToString() && y.BillingType == billingType && y.Sku == sku.ToString()),

0 commit comments

Comments
 (0)