Tests: no account ID in the repository (fixture user, or read from the snapshot)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,7 @@ import org.junit.rules.TemporaryFolder
|
||||
/** Titles approved outside the app (Stage 3 replacements, 23 November 2026): only ever added, never twice. */
|
||||
class ApprovedTitlesTest {
|
||||
@get:Rule val tmp = TemporaryFolder()
|
||||
private val user = "8d5f95222bdd4ad3b841f53e18c25056"
|
||||
private val user = "fixture-user"
|
||||
|
||||
@Test fun approvedTitlesJoinTheirChannelsOnceAndNothingElseChanges() {
|
||||
val dir = tmp.newFolder("schedule")
|
||||
|
||||
@@ -15,7 +15,7 @@ class AtlasWeekPreviewTest {
|
||||
@Test fun previewTheFirstWeek() {
|
||||
val dir = System.getenv("ATLAS_WEEK")?.let(::File)
|
||||
assumeTrue(dir != null && dir.isDirectory)
|
||||
val pool = ScheduleStore(dir!!).loadPool("8d5f95222bdd4ad3b841f53e18c25056", 113)!!.series
|
||||
val pool = ScheduleStore(dir!!).loadPool(dir.listFiles()!!.first { it.name.startsWith("episodes-") }.let { org.json.JSONObject(it.readText()).getString("user") }, 113)!!.series
|
||||
// ATLAS_REAL=1 plans with the channel's own blocks and tiers (Atlas.kt), as the TV would; otherwise the audit's parts.json.
|
||||
if (System.getenv("ATLAS_REAL") == "1") {
|
||||
val zone = ZoneId.of("Europe/London")
|
||||
|
||||
Reference in New Issue
Block a user