feat(infra): BATCH 4 - Permiso/RolPermiso repos Dapper + tests integracion [UDT-005]

This commit is contained in:
2026-04-15 15:39:25 -03:00
parent 704794a2e2
commit be2257a9bf
8 changed files with 794 additions and 2 deletions

View File

@@ -23,7 +23,12 @@ public class UsuarioRepositoryTests : IAsyncLifetime
{
DbAdapter = DbAdapter.SqlServer,
// Rol is a lookup table seeded by migration V003 — never wipe or Usuario FK breaks.
TablesToIgnore = [new Respawn.Graph.Table("dbo", "Rol")]
TablesToIgnore =
[
new Respawn.Graph.Table("dbo", "Rol"),
new Respawn.Graph.Table("dbo", "Permiso"),
new Respawn.Graph.Table("dbo", "RolPermiso"),
]
});
// Reset DB, re-seed Rol canonical table (lookup) and admin user for each test class run.