tests fixes

This commit is contained in:
master
2026-01-27 08:23:42 +02:00
parent c305d05d32
commit 82caceba56
58 changed files with 651 additions and 312 deletions

View File

@@ -238,12 +238,14 @@ public sealed class ReplayManifestExporterTests : IDisposable
var options1 = new ReplayExportOptions
{
OutputPath = outputPath1,
IncludeCiEnvironment = false // Disable CI env to ensure determinism
IncludeCiEnvironment = false, // Disable CI env to ensure determinism
GenerateVerificationCommand = false // Disable to avoid path-specific commands
};
var options2 = new ReplayExportOptions
{
OutputPath = outputPath2,
IncludeCiEnvironment = false
IncludeCiEnvironment = false,
GenerateVerificationCommand = false
};
// Act

View File

@@ -141,8 +141,9 @@ public sealed class FeedSnapshotCoordinatorTests
// Assert
Assert.NotNull(result);
Assert.True(result.IsValid);
Assert.Null(result.MissingSources);
Assert.Null(result.DriftedSources);
// No missing or drifted sources (either null or empty is acceptable)
Assert.True(result.MissingSources is null or { Count: 0 });
Assert.True(result.DriftedSources is null or { Count: 0 });
}
[Fact]