refactor(tests): DatabaseCollection centraliza ICollectionFixture<SqlTestFixture>

Registra la colección "Database" con SqlTestFixture como fixture compartido
para Application.Tests (elimina el ctor-con-string inline en cada test class).
Agrega Using global a ambos proyectos para evitar usings por archivo.
This commit is contained in:
2026-04-18 21:44:24 -03:00
parent e987228f14
commit 03a695feb9
3 changed files with 18 additions and 0 deletions

View File

@@ -24,10 +24,12 @@
<ProjectReference Include="..\..\src\api\SIGCM2.Application\SIGCM2.Application.csproj" />
<ProjectReference Include="..\..\src\api\SIGCM2.Infrastructure\SIGCM2.Infrastructure.csproj" />
<ProjectReference Include="..\..\src\api\SIGCM2.Domain\SIGCM2.Domain.csproj" />
<ProjectReference Include="..\SIGCM2.TestSupport\SIGCM2.TestSupport.csproj" />
</ItemGroup>
<ItemGroup>
<Using Include="Xunit" />
<Using Include="SIGCM2.TestSupport" />
</ItemGroup>
</Project>