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