Test code refactoring. Minor CI change.
All checks were successful
ci / build-test (push) Successful in 1m30s
ci / publish-image (push) Has been skipped

This commit is contained in:
2025-11-03 19:03:24 -05:00
parent 4204847c39
commit 2c7de7cdd9
18 changed files with 55 additions and 54 deletions

View File

@@ -0,0 +1,15 @@
using JSMR.Infrastructure.Data;
using JSMR.Tests.Fixtures;
namespace JSMR.Tests.Ingestion;
public abstract class IngestionTestsBase(MariaDbContainerFixture container)
{
protected async Task<AppDbContext> GetAppDbContextAsync()
{
return await MariaDbClone.CloneFromTemplateAsync(
container.RootConnectionString,
container.TemplateDbName,
seed: VoiceWorkIngestionSeedData.SeedAsync);
}
}