Files
yattee/YatteeTests/Integration/TestConstants.swift
Arkadiusz Fal 4770bbe3b9 Remove dead code found by Periphery on all platforms
Delete declarations that Periphery reports unused on every platform that
compiles them (iOS, macOS, tvOS), including nine views used only by their
own previews. Platform-gated code still used on another platform, device-
only MPV render paths, migration models, CloudKit record names, App
Intents metadata and unused parameters are kept.
2026-10-08 23:57:56 +02:00

32 lines
854 B
Swift

//
// TestConstants.swift
// YatteeTests
//
// Constants for integration tests.
//
import Foundation
@testable import Yattee
/// Constants for integration testing against a real Invidious instance.
enum IntegrationTestConstants {
/// Test Invidious instance URL (from CLAUDE.md).
static let testInstanceURL = URL(string: "https://i01.v.yattee.stream")!
/// Test instance for API calls.
static let testInstance = Instance(
type: .invidious,
url: testInstanceURL,
name: "Test Instance"
)
/// A stable, popular video ID for testing (Rick Astley - Never Gonna Give You Up).
static let testVideoID = "dQw4w9WgXcQ"
/// Rick Astley's channel ID.
static let testChannelID = "UCuAXFkgsw1L7xaCfnd5JJOw"
/// A stable search query.
static let testSearchQuery = "never gonna give you up"
}