v3 batch1 gate: fix stale collision-error-code assertions (EquipmentSignalNameCollision -> UnsEffectiveNameCollision) in Configuration.Tests
WP1 wrote these against its interim VirtualTag-only collision rule; WP4a replaced it with the broader UnsEffectiveNameCollision rule. Neither test-sweep scope covered these two Configuration.Tests files, so the assertions went stale. Configuration.Tests 107/107.
This commit is contained in:
@@ -45,7 +45,7 @@ public sealed class DraftSnapshotFactoryTests : IDisposable
|
||||
|
||||
snapshot.Tags.Count.ShouldBe(1);
|
||||
snapshot.VirtualTags.Count.ShouldBe(2);
|
||||
DraftValidator.Validate(snapshot).ShouldContain(e => e.Code == "EquipmentSignalNameCollision");
|
||||
DraftValidator.Validate(snapshot).ShouldContain(e => e.Code == "UnsEffectiveNameCollision");
|
||||
}
|
||||
|
||||
/// <summary>Distinct VirtualTag names under the same equipment do not collide, so the snapshot
|
||||
@@ -62,7 +62,7 @@ public sealed class DraftSnapshotFactoryTests : IDisposable
|
||||
|
||||
snapshot.Tags.Count.ShouldBe(1);
|
||||
snapshot.VirtualTags.Count.ShouldBe(1);
|
||||
DraftValidator.Validate(snapshot).ShouldNotContain(e => e.Code == "EquipmentSignalNameCollision");
|
||||
DraftValidator.Validate(snapshot).ShouldNotContain(e => e.Code == "UnsEffectiveNameCollision");
|
||||
}
|
||||
|
||||
/// <summary>Seeds one active and one released reservation for the same equipment context;
|
||||
|
||||
Reference in New Issue
Block a user