0.94.1: Ring X's pool signature includes its PPV events
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -87,4 +87,12 @@ class PpvSundayTest {
|
||||
@Test fun onlyRingXCarriesFilmsInAnEvent() {
|
||||
assertEquals(listOf(401), SmartChannels.filter { it.channelFilms.isNotEmpty() }.map { it.number })
|
||||
}
|
||||
|
||||
@Test fun ringXReadsItsEventsAgainWhenTheListChanges() {
|
||||
// The pool's signature has to include the events, or the box keeps its old pool and never reads them.
|
||||
assertTrue(ringX.signature.contains("#films:"))
|
||||
assertTrue(ringX.signature.contains(PpvSunday.first()))
|
||||
val afterDark = SmartChannels.first { it.number == AFTER_DARK_NUMBER }
|
||||
assertTrue(afterDark.signature.endsWith("#series:$LAST_DRIVE_IN"))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user