Added voice work repository tests.
All checks were successful
ci / build-test (push) Successful in 2m21s
ci / publish-image (push) Successful in 1m39s

This commit is contained in:
2026-03-31 00:43:02 -04:00
parent 347f6f297d
commit 45a8c8be5a
4 changed files with 91 additions and 1 deletions

View File

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