Fix tests

This commit is contained in:
Arkadiusz Fal
2026-03-21 09:56:25 +01:00
parent fced75fce1
commit 8a54e1ddbb
3 changed files with 28 additions and 2 deletions

View File

@@ -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" : {

View File

@@ -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")

View File

@@ -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(