20 lines
686 B
C#
20 lines
686 B
C#
using System.Reflection;
|
|
using StellaOps.AirGap.Persistence.Postgres;
|
|
using StellaOps.Infrastructure.Postgres.Testing;
|
|
using Xunit;
|
|
|
|
namespace StellaOps.AirGap.Persistence.Tests;
|
|
|
|
/// <summary>
|
|
/// PostgreSQL integration test fixture for the AirGap module.
|
|
/// Runs migrations from embedded resources and provides test isolation.
|
|
/// </summary>
|
|
public sealed partial class AirGapPostgresFixture : PostgresIntegrationFixture, ICollectionFixture<AirGapPostgresFixture>
|
|
{
|
|
protected override Assembly? GetMigrationAssembly() => typeof(AirGapDataSource).Assembly;
|
|
|
|
protected override string GetModuleName() => "AirGap";
|
|
|
|
protected override string? GetResourcePrefix() => null;
|
|
}
|