From 6f5948fe2115589850f7387391205ae251a11dad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20De=CC=81fago?= Date: Tue, 3 Dec 2024 14:04:45 +0100 Subject: [PATCH] Do not run media selection tests on tvOS --- Tests/PlayerTests/MediaSelection/MediaSelectionTests.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tests/PlayerTests/MediaSelection/MediaSelectionTests.swift b/Tests/PlayerTests/MediaSelection/MediaSelectionTests.swift index f4a8a097c..726fa8842 100644 --- a/Tests/PlayerTests/MediaSelection/MediaSelectionTests.swift +++ b/Tests/PlayerTests/MediaSelection/MediaSelectionTests.swift @@ -11,6 +11,8 @@ import Nimble import PillarboxCircumspect import PillarboxStreams +#if os(iOS) + final class MediaSelectionTests: TestCase { func testCharacteristicsAndOptionsWhenEmpty() { let player = Player() @@ -295,3 +297,5 @@ private extension Player { return try await item.asset.loadMediaSelectionGroup(for: characteristic) } } + +#endif