Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ internal sealed class AspireDashboardConnectionStringProvider : ContainerConnect
/// <inheritdoc />
protected override string GetHostConnectionString()
{
return Container.GetConnectionString();
return Container.GetDashboardAddress();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ public async Task GetDashboardReturnsHttpStatusCodeOk()
httpClient.BaseAddress = new Uri(_aspireDashboardContainer.GetDashboardAddress());

// When
using var response = await httpClient.GetAsync("/", TestContext.Current.CancellationToken)
using var httpResponse = await httpClient.GetAsync("/", TestContext.Current.CancellationToken)
.ConfigureAwait(true);

// Then
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
Assert.Equal(HttpStatusCode.OK, httpResponse.StatusCode);
Assert.Equal(_aspireDashboardContainer.GetDashboardAddress(), _aspireDashboardContainer.GetConnectionString());
}

[Fact]
Expand Down
Loading