feature: RBAC + Clinical Audit Logging
This commit is contained in:
@@ -4,6 +4,7 @@ using FluentAssertions;
|
||||
using Hl7.Fhir.Model;
|
||||
using Hl7.Fhir.Serialization;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using StackExchange.Redis;
|
||||
using Task = System.Threading.Tasks.Task;
|
||||
|
||||
[Collection("Integration")]
|
||||
@@ -19,6 +20,7 @@ public class FhirIngestTests : IAsyncLifetime
|
||||
{
|
||||
_fixture = fixture;
|
||||
_client = fixture.CreateClient();
|
||||
_client.ClearAuth();
|
||||
}
|
||||
|
||||
public async Task InitializeAsync()
|
||||
@@ -26,6 +28,9 @@ public class FhirIngestTests : IAsyncLifetime
|
||||
using var scope = _fixture.Services.CreateScope();
|
||||
var db = scope.ServiceProvider.GetRequiredService<AppDbContext>();
|
||||
await DbResetHelper.ResetAsync(db);
|
||||
|
||||
var redis = scope.ServiceProvider.GetRequiredService<IConnectionMultiplexer>();
|
||||
await DataSeeder.SeedThresholdsOnlyAsync(db, redis);
|
||||
}
|
||||
|
||||
public Task DisposeAsync() => Task.CompletedTask;
|
||||
|
||||
Reference in New Issue
Block a user