mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 12:11:10 +00:00
Fixes integration test fixtures disposing the shared web factory per test.
This commit is contained in:
1 parent
1189bbaf36
commit
cbe27ab22e
48 files changed
+112
-117
No files matched your search
+2
-3
@@ -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();
|
||||
}
|
||||
}
|
||||
+2
-3
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user