From 09655acefeae0acde40783a8d34ab94c35cf1f73 Mon Sep 17 00:00:00 2001 From: Pauljd Date: Mon, 23 Nov 2026 20:11:51 +0000 Subject: [PATCH] Encore Saturday: the Drive-In events test knows its 20:00 triples Co-Authored-By: Claude Opus 5.5 --- .../app/src/test/java/tv/orbit/classic/DriveInEventsTest.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android/app/src/test/java/tv/orbit/classic/DriveInEventsTest.kt b/android/app/src/test/java/tv/orbit/classic/DriveInEventsTest.kt index decee05f..576d0d80 100644 --- a/android/app/src/test/java/tv/orbit/classic/DriveInEventsTest.kt +++ b/android/app/src/test/java/tv/orbit/classic/DriveInEventsTest.kt @@ -190,6 +190,7 @@ class DriveInEventsTest { // Templates name films by IMDb ID only: no server's item is built in. assertTrue(DriveInEvents.flatMap { it.films }.all { it.imdb.matches(Regex("tt\\d{7,8}")) && it.itemId.isEmpty() }) // Three triples run past midnight; nothing else is booked on top of them by design (a triple has no late show). - assertTrue(DriveInEvents.filter { it.films.size == 3 }.all { it.hour == 19 }) + // Encore Saturday's triples start at 20:00, as Paul approved them (23 November 2026). + assertTrue(DriveInEvents.filter { it.films.size == 3 }.all { it.hour == if (it.key.startsWith(ENCORE_KEY)) 20 else 19 }) } }