chore(adm-009): actualizar Respawner TablesToIgnore + conteos de permisos en tests existentes

This commit is contained in:
2026-04-17 17:41:30 -03:00
parent f4bd84c3f1
commit c6c4eda269
8 changed files with 38 additions and 6 deletions

View File

@@ -74,14 +74,15 @@ public class PermisoRepositoryTests : IAsyncLifetime
// ── ListAsync ────────────────────────────────────────────────────────────
[Fact]
public async Task ListAsync_Returns22CanonicalSeeds()
public async Task ListAsync_Returns23CanonicalSeeds()
{
var list = await _repository.ListAsync();
// V005 seeds 18 canonical permisos + V007 (UDT-006) adds 3 admin permisos
// + V011 (ADM-001) adds 'administracion:secciones:gestionar'
// + V013 (ADM-008) adds 'administracion:puntos_de_venta:gestionar' = 23 total
Assert.Equal(23, list.Count);
// + V013 (ADM-008) adds 'administracion:puntos_de_venta:gestionar'
// + V014 (ADM-009) adds 'administracion:fiscal:gestionar' = 24 total
Assert.Equal(24, list.Count);
}
[Fact]