From f5cc27e9029d3035b493c8316784b140b2b0fade Mon Sep 17 00:00:00 2001 From: Timothy Date: Fri, 17 Jul 2026 08:50:36 +0200 Subject: [PATCH] test(380): avoid channel-number collision with #77 golden fixture Post-rebase onto main (which merged #77's Classic_clock_padded golden): both fixtures seed the shared in-memory DB and independently picked Channel Number "3"/GUID ...0003, tripping a UNIQUE constraint. Move the shuffle fixture to "4"/...0004. Golden output is unchanged (it snapshots times/titles; shuffle determinism comes from playout.Seed). Co-Authored-By: Claude Opus 4.8 --- .../Scheduling/Goldens/PlayoutBuildGoldenTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ErsatzTV.Core.Tests/Scheduling/Goldens/PlayoutBuildGoldenTests.cs b/ErsatzTV.Core.Tests/Scheduling/Goldens/PlayoutBuildGoldenTests.cs index dbe36ff64..5348f78fc 100644 --- a/ErsatzTV.Core.Tests/Scheduling/Goldens/PlayoutBuildGoldenTests.cs +++ b/ErsatzTV.Core.Tests/Scheduling/Goldens/PlayoutBuildGoldenTests.cs @@ -346,10 +346,10 @@ public class PlayoutBuildGoldenTests await context.FFmpegProfiles.AddAsync(ffmpegProfile, cancellationToken); await context.SaveChangesAsync(cancellationToken); - var channel = new Channel(Guid.Parse("00000000-0000-0000-0000-000000000003")) + var channel = new Channel(Guid.Parse("00000000-0000-0000-0000-000000000004")) { Name = "Shuffle Test Channel", - Number = "3", + Number = "4", FFmpegProfile = ffmpegProfile, FFmpegProfileId = ffmpegProfile.Id };