Propagate auto-track intent to new seasons (#76)
ci / web (push) Successful in 33s
ci / rust (push) Successful in 1m1s
e2e / e2e (push) Successful in 1m41s

This commit was merged in pull request #76.
This commit is contained in:
2026-08-22 22:26:23 +01:00
parent b5413eef46
commit fc2a8de58d
4 changed files with 137 additions and 2 deletions
+5 -1
View File
@@ -68,12 +68,16 @@ mod tests {
.json()
.await
.expect("json");
assert_eq!(roots.len(), 2, "the two seeded movie roots: {roots:?}");
assert_eq!(roots.len(), 4, "the seeded movie and TV roots: {roots:?}");
assert_eq!(roots[0]["audience"], "main");
assert_eq!(roots[0]["policy_name"], "Movies — main");
assert_eq!(roots[1]["audience"], "kids");
assert!(roots[1]["path"]
.as_str()
.is_some_and(|p| p.contains("kids")));
assert_eq!(roots[2]["kind"], "tv");
assert_eq!(roots[2]["policy_name"], "TV — main");
assert_eq!(roots[3]["kind"], "tv");
assert_eq!(roots[3]["policy_name"], "TV — kids");
}
}
+1 -1
View File
@@ -806,7 +806,7 @@ mod tests {
let classified = classify(
release,
&policy,
&MovieOverrides::default(),
&TitleOverrides::default(),
&Language::Other("en".into()),
)
.expect("classified release");