Skip to content

Commit

Permalink
Fix warning in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
BS-jiriceska committed Aug 16, 2024
1 parent a7f39f3 commit 8a6a6a8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,12 @@ public async Task OrderDetail_ExistingOrder(int orderId, string customerEmail)
/// <param name="orderId">Order ID.</param>
[Test]
[TestCase(99999)]
public async Task OrderDetail_NonExistingOrder(int orderId)
public Task OrderDetail_NonExistingOrder(int orderId)
{
// test that exception has status code 404
var exception = Assert.ThrowsAsync<ApiException>(async () => await StoreApiClient.OrderDetailAsync(orderId));
Assert.That(exception!.StatusCode, Is.EqualTo(404));
return Task.CompletedTask;
}

/// <summary>
Expand Down

0 comments on commit 8a6a6a8

Please sign in to comment.