yattee/Fixtures/ChannelPlaylist+Fixtures.swift

14 lines
526 B
Swift
Raw Normal View History

2021-10-22 23:04:03 +00:00
import Foundation
extension ChannelPlaylist {
static var fixture: ChannelPlaylist {
ChannelPlaylist(
2022-12-16 19:37:05 +00:00
id: "fixture-channel-playlist",
2021-10-22 23:04:03 +00:00
title: "Playlist with a very long title that will not fit easily in the screen",
thumbnailURL: URL(string: "https://i.ytimg.com/vi/hT_nvWreIhg/hqdefault.jpg?sqp=-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ==&rs=AOn4CLAAD21_-Bo6Td1z3cV-UFyoi1flEg")!,
channel: Video.fixture.channel,
videos: Video.allFixtures
)
}
}