mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-23 19:26:50 +00:00
feat(tv): add seriesName and seasonIndex to Episode data model
This commit is contained in:
@@ -105,7 +105,9 @@ class EpisodeScreenContentTest {
|
||||
return Episode(
|
||||
id = UUID.fromString("33333333-3333-3333-3333-333333333333"),
|
||||
seriesId = seriesId,
|
||||
seriesName = "Severance",
|
||||
seasonId = seasonId,
|
||||
seasonIndex = 2,
|
||||
index = 4,
|
||||
title = "The You You Are",
|
||||
synopsis = "Mark is pulled deeper into Lumon's fractured world as the team chases a clue.",
|
||||
|
||||
@@ -425,7 +425,9 @@ class TvHomeContentTest {
|
||||
return Episode(
|
||||
id = UUID.fromString(id),
|
||||
seriesId = seriesId,
|
||||
seriesName = "Firefly",
|
||||
seasonId = seasonId,
|
||||
seasonIndex = 1,
|
||||
index = 1,
|
||||
title = title,
|
||||
synopsis = "A crew member takes the shuttle for a spin and makes a mess.",
|
||||
|
||||
@@ -120,7 +120,9 @@ class SeriesScreenContentTest {
|
||||
Episode(
|
||||
id = UUID.fromString("44444444-4444-4444-4444-444444444444"),
|
||||
seriesId = seriesId,
|
||||
seriesName = "Severance",
|
||||
seasonId = seasonId,
|
||||
seasonIndex = 1,
|
||||
index = 1,
|
||||
title = "Good News About Hell",
|
||||
synopsis = "Mark is promoted after an unexpected tragedy.",
|
||||
@@ -136,7 +138,9 @@ class SeriesScreenContentTest {
|
||||
Episode(
|
||||
id = UUID.fromString("55555555-5555-5555-5555-555555555555"),
|
||||
seriesId = seriesId,
|
||||
seriesName = "Severance",
|
||||
seasonId = seasonId,
|
||||
seasonIndex = 1,
|
||||
index = 2,
|
||||
title = "Half Loop",
|
||||
synopsis = "Mark takes the team out for a sanctioned dinner.",
|
||||
|
||||
@@ -95,7 +95,9 @@ class TvFocusedItemHeroTest {
|
||||
return Episode(
|
||||
id = UUID.fromString("33333333-3333-3333-3333-333333333333"),
|
||||
seriesId = UUID.fromString("44444444-4444-4444-4444-444444444444"),
|
||||
seriesName = "Love, Death & Robots",
|
||||
seasonId = UUID.fromString("55555555-5555-5555-5555-555555555555"),
|
||||
seasonIndex = 3,
|
||||
index = 3,
|
||||
title = "The Very Pulse of the Machine",
|
||||
synopsis = "An astronaut faces a strange world alone.",
|
||||
|
||||
@@ -126,7 +126,9 @@ class TvHomeHeroStateTest {
|
||||
episode = Episode(
|
||||
id = UUID.fromString(id),
|
||||
seriesId = UUID.fromString("aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"),
|
||||
seriesName = "Sample Series",
|
||||
seasonId = UUID.fromString("bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"),
|
||||
seasonIndex = 1,
|
||||
index = 1,
|
||||
title = "Next Episode",
|
||||
synopsis = "Episode synopsis",
|
||||
|
||||
Reference in New Issue
Block a user