Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ucrengineer committed Aug 4, 2023
1 parent 2d2defd commit b1e7514
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ public async Task CreateDelete_Labels_For_Domestic_Shipments_Async()
Assert.NotNull(label);

Assert.True(label?.Labels.Any(x => x?.Bytes?.Count > 0));
File.WriteAllBytes("C:\\Users\\BrandonMoffett-EasyK\\Downloads\\test.png", label.Labels.First().Bytes.First());

var result = await _provider.CancelShipmentAsync(label.Labels.First().TrackingId, CancellationToken.None);

Check warning on line 79 in test/EasyKeys.Shipping.FuncTest/FedEx/FedExShipmentProviderTests.cs

View workflow job for this annotation

GitHub Actions / build

Dereference of a possibly null reference.
Assert.True(result.Succeeded);
Expand Down Expand Up @@ -144,7 +143,6 @@ public async Task CreateDelete_Labels_For_International_Shipments_Async()
Assert.NotNull(label);

Assert.True(label?.Labels.Any(x => x?.Bytes?.Count > 0));

// sometimes dev env doesnt send documents
// Assert.True(label?.Labels.Count > 1);

Expand Down

0 comments on commit b1e7514

Please sign in to comment.