"Test-infrastructure-fixes"

This commit is contained in:
sysadmin
2025-09-29 08:03:36 +01:00
parent 6e5f5ae279
commit c5c56ec3d8
2 changed files with 12 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ public class AdminPanelTests : IClassFixture<TestWebApplicationFactory>, IAsyncL
public AdminPanelTests(TestWebApplicationFactory factory)
{
_factory = factory;
_baseUrl = "https://localhost:5001"; // Adjust based on your test configuration
_baseUrl = _factory.Server.BaseAddress.ToString().TrimEnd('/'); // Use the test server's URL
}
public async Task InitializeAsync()