212
212
operationPollerInstance := poller.(operationPoller)
213
213
expectedURL := AZURE_URL + operationPollerInstance.api.session.subscriptionId + "/operations/" + operationID
214
214
c.Assert(len(recordedRequests), Equals, 2)
215
checkRequest(c, recordedRequests[0], expectedURL, []byte{}, "GET")
216
checkRequest(c, recordedRequests[1], expectedURL, []byte{}, "GET")
215
checkRequest(c, recordedRequests[0], expectedURL, "2009-10-01", nil, "GET")
216
checkRequest(c, recordedRequests[1], expectedURL, "2009-10-01", nil, "GET")