Propagate auto-track intent to new seasons (#76)
This commit was merged in pull request #76.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -806,7 +806,7 @@ mod tests {
|
||||
let classified = classify(
|
||||
release,
|
||||
&policy,
|
||||
&MovieOverrides::default(),
|
||||
&TitleOverrides::default(),
|
||||
&Language::Other("en".into()),
|
||||
)
|
||||
.expect("classified release");
|
||||
|
||||
Reference in New Issue
Block a user