From 8a54e1ddbb248cf51cb1b64f268af02c9a16ea46 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Sat, 21 Mar 2026 09:56:25 +0100 Subject: [PATCH] Fix tests --- Yattee/Localizable.xcstrings | 26 +++++++++++++++++++++ YatteeTests/APIParsingTests.swift | 2 +- YatteeTests/Integration/TestConstants.swift | 2 +- 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/Yattee/Localizable.xcstrings b/Yattee/Localizable.xcstrings index 3d5752e7..d4a4ce34 100644 --- a/Yattee/Localizable.xcstrings +++ b/Yattee/Localizable.xcstrings @@ -3,6 +3,9 @@ "strings" : { "" : { + }, + "-%@" : { + }, "%@" : { @@ -47,6 +50,26 @@ } } }, + "%@: %lld" : { + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "new", + "value" : "%1$@: %2$lld" + } + } + } + }, + "%@: %llds" : { + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "new", + "value" : "%1$@: %2$llds" + } + } + } + }, "%@%llds" : { "localizations" : { "en" : { @@ -94,6 +117,9 @@ } } } + }, + "• %@" : { + }, "+%lld" : { diff --git a/YatteeTests/APIParsingTests.swift b/YatteeTests/APIParsingTests.swift index c1b54154..3f12dd64 100644 --- a/YatteeTests/APIParsingTests.swift +++ b/YatteeTests/APIParsingTests.swift @@ -627,7 +627,7 @@ struct MediaSourceTests { func mediaSourceTypeSystemImages() { #expect(MediaSourceType.webdav.systemImage == "externaldrive.connected.to.line.below") #expect(MediaSourceType.localFolder.systemImage == "folder") - #expect(MediaSourceType.smb.systemImage == "network") + #expect(MediaSourceType.smb.systemImage == "externaldrive.connected.to.line.below") } @Test("MediaSource URL display string") diff --git a/YatteeTests/Integration/TestConstants.swift b/YatteeTests/Integration/TestConstants.swift index 7cd1cb06..7ea82874 100644 --- a/YatteeTests/Integration/TestConstants.swift +++ b/YatteeTests/Integration/TestConstants.swift @@ -11,7 +11,7 @@ import Foundation /// Constants for integration testing against a real Invidious instance. enum IntegrationTestConstants { /// Test Invidious instance URL (from CLAUDE.md). - static let testInstanceURL = URL(string: "https://invidious.home.arekf.net")! + static let testInstanceURL = URL(string: "https://i01.s.yattee.stream")! /// Test instance for API calls. static let testInstance = Instance(