fix: resolve AniList playback using exact MAL mappings
This commit is contained in:
@@ -72,7 +72,7 @@ struct SourceCheckChecks {
|
||||
throw Failure()
|
||||
}
|
||||
// Exercise error classification, not fake provider availability. Live proof uses the actual CLI below.
|
||||
for category in [ZokoError.unavailable, .transport, .protection, .malformed] {
|
||||
for category in [ZokoError.unavailable, .transport, .protection, .malformed, .mapping] {
|
||||
let result = await SourceCheck.run(mediaID: "1", episode: 1, resolve: { _, _ in throw category },
|
||||
validate: { _ in throw Failure() })
|
||||
try require(result == (category == .unavailable ? .unavailable : .failed), "only explicit missing episode is unavailable")
|
||||
|
||||
Reference in New Issue
Block a user