mirror of
https://github.com/yattee/yattee.git
synced 2026-04-09 17:16:57 +00:00
Fix tests
This commit is contained in:
@@ -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" : {
|
||||
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user