Fixes integration test fixtures disposing the shared web factory per test.

This commit is contained in:
BinaryAlley committed 2026-08-18 09:03:53 -07:00
1 parent 1189bbaf36
commit cbe27ab22e
48 files changed
+112 -117

No files matched your search

@@ -137,9 +137,8 @@ public class CheckInitializationEndpointTests : IClassFixture<AuthenticatedLumin
/// <summary>
/// Disposes API factory resources.
/// </summary>
public Task DisposeAsync()
public async Task DisposeAsync()
{
_apiFactory.Dispose();
return Task.CompletedTask;
await _apiFactory.RemoveTestUserAsync();
}
}
@@ -49,9 +49,8 @@ public class CheckHealthEndpointTests : IClassFixture<AuthenticatedLuminaApiFact
/// <summary>
/// Disposes API factory resources.
/// </summary>
public Task DisposeAsync()
public async Task DisposeAsync()
{
_apiFactory.Dispose();
return Task.CompletedTask;
await _apiFactory.RemoveTestUserAsync();
}
}