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

@@ -134,6 +134,6 @@ public class GetUsersEndpointTests : IClassFixture<AuthenticatedLuminaApiFactory
await dbContext.SaveChangesAsync();
_apiFactory.Dispose();
await _apiFactory.RemoveTestUserAsync();
}
}
@@ -186,6 +186,6 @@ public class GetUserPermissionsEndpointTests : IClassFixture<AuthenticatedLumina
await dbContext.SaveChangesAsync();
_apiFactory.Dispose();
await _apiFactory.RemoveTestUserAsync();
}
}
@@ -167,6 +167,6 @@ public class GetUserRoleEndpointTests : IClassFixture<AuthenticatedLuminaApiFact
await dbContext.SaveChangesAsync();
_apiFactory.Dispose();
await _apiFactory.RemoveTestUserAsync();
}
}
@@ -255,6 +255,6 @@ public class UpdateUserRoleAndPermissionsEndpointTests : IClassFixture<Authentic
await dbContext.SaveChangesAsync();
_apiFactory.Dispose();
await _apiFactory.RemoveTestUserAsync();
}
}