Files
jsmr/JSMR.Tests/Ingestion/IngestionTestsBase.cs
Brian Bicknell 2c7de7cdd9
All checks were successful
ci / build-test (push) Successful in 1m30s
ci / publish-image (push) Has been skipped
Test code refactoring. Minor CI change.
2025-11-03 19:03:24 -05:00

15 lines
446 B
C#

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);
}
}