Skip to content

Commit

Permalink
Update WebTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
neozhu committed Dec 18, 2024
1 parent e3b0aba commit 8236988
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/CleanAspire.Tests/WebTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CleanAspire.Tests;
namespace CleanAspire.Tests;

public class WebTests
{
Expand All @@ -17,8 +17,8 @@ public async Task GetWebResourceRootReturnsOkStatusCode()
await app.StartAsync();

// Act
var httpClient = app.CreateHttpClient("webfrontend");
await resourceNotificationService.WaitForResourceAsync("webfrontend", KnownResourceStates.Running).WaitAsync(TimeSpan.FromSeconds(30));
var httpClient = app.CreateHttpClient("blazorweb");
await resourceNotificationService.WaitForResourceAsync("blazorweb", KnownResourceStates.Running).WaitAsync(TimeSpan.FromSeconds(30));
var response = await httpClient.GetAsync("/");

// Assert
Expand Down

0 comments on commit 8236988

Please sign in to comment.