From f6ad371de44c1557e7593986b560c4ad352464ff Mon Sep 17 00:00:00 2001 From: dmolinari Date: Wed, 15 Apr 2026 15:26:19 -0300 Subject: [PATCH] chore(tests): BATCH 0 - agregar Permiso y RolPermiso a TablesToIgnore [UDT-005] --- tests/SIGCM2.TestSupport/SqlTestFixture.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/SIGCM2.TestSupport/SqlTestFixture.cs b/tests/SIGCM2.TestSupport/SqlTestFixture.cs index ac9419d..2eeddd2 100644 --- a/tests/SIGCM2.TestSupport/SqlTestFixture.cs +++ b/tests/SIGCM2.TestSupport/SqlTestFixture.cs @@ -30,7 +30,13 @@ public sealed class SqlTestFixture : 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")] + // Permiso and RolPermiso are seeded by V005/V006 — never wipe or integration tests lose the permission catalog. + TablesToIgnore = + [ + new Respawn.Graph.Table("dbo", "Rol"), + new Respawn.Graph.Table("dbo", "Permiso"), + new Respawn.Graph.Table("dbo", "RolPermiso"), + ] }); await ResetAndSeedAsync();