Skip to content

Commit

Permalink
(e2e): fix FileUpload E2E Tests (#2034)
Browse files Browse the repository at this point in the history
  • Loading branch information
azabbasi authored Jun 16, 2021
1 parent 6c2349d commit 0a1f703
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions e2e/test/iothub/FileUploadE2ETests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ private async Task UploadFileGranularAsync(Stream source, string filename, Http1
X509Certificate2 cert = Configuration.IoTHub.GetCertificateWithPrivateKey();

var auth = new DeviceAuthenticationWithX509Certificate(testDevice.Id, cert);

deviceClient = DeviceClient.Create(testDevice.IoTHubHostName, auth, Client.TransportType.Http1, clientOptions);
deviceClient = DeviceClient.Create(testDevice.IoTHubHostName, auth, Client.TransportType.Http1);
}
else
{
Expand Down

0 comments on commit 0a1f703

Please sign in to comment.