Skip to content

Commit

Permalink
prefer using HttpStatusCode
Browse files Browse the repository at this point in the history
  • Loading branch information
Xor-el committed Feb 1, 2025
1 parent 123f685 commit 8098d50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ private static async Task VerifyTokenEndpointIsWorking(string endpointUrl, HttpC
try
{
using var response = await httpClient.SendAsync(request);
Assert.Equal(200, (int)response.StatusCode);
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
}
catch (Exception ex)
{
Expand Down
3 changes: 2 additions & 1 deletion tests/Testcontainers.LowkeyVault.Tests/Usings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
global using DotNet.Testcontainers.Commons;
global using System;
global using System.Linq;
global using System.Net;
global using System.Net.Http;
global using System.Security.Cryptography.X509Certificates;
global using System.Threading;
global using System.Threading.Tasks;
global using Xunit;
global using Xunit;

0 comments on commit 8098d50

Please sign in to comment.