fix(arr): recover lost fixtures and align provider names

The Podnapisi zip fixtures never reached the branch: a global gitignore
excludes *.zip, so git add skipped them silently and the worker's CI passed
against untracked files. Recovered, with a fixtures .gitignore that keeps
the next binary fixture from vanishing the same way.

Two providers landing in parallel also disagreed on names and on which
crate dependencies each integration-test target uses. PodnapisiProvider is
now Podnapisi, matching OpenSubtitles, and both test targets declare the
dependencies they do not use so the per-target lint stays quiet.
This commit is contained in:
Miguel Palhas
2026-08-24 23:07:46 +01:00
parent 529d7a4ee4
commit b9f4ee98d5
4 changed files with 20 additions and 19 deletions
+5 -5
View File
@@ -4,15 +4,15 @@
// Same per-target quirk as the crate's own tests: an integration test links
// the library's dependencies without using them all directly.
use {
arr_parse as _, reqwest as _, serde as _, serde_json as _, thiserror as _, tracing as _,
zip as _,
arr_parse as _, chardetng as _, encoding_rs as _, reqwest as _, serde as _, serde_json as _,
tempfile as _, thiserror as _, tracing as _, zip as _,
};
use std::time::Duration;
use arr_core::Language;
use arr_subs::{
Candidate, Error, Fetched, MediaFile, MediaRef, PodnapisiProvider, Provider, SearchRequest,
Candidate, Error, Fetched, MediaFile, MediaRef, Podnapisi, Provider, SearchRequest,
SubtitleFormat,
};
use wiremock::matchers::{method, path, query_param, query_param_is_missing};
@@ -25,8 +25,8 @@ const SEARCH_MALFORMED: &str = include_str!("fixtures/search_malformed.json");
const DOWNLOAD_ZIP: &[u8] = include_bytes!("fixtures/download.zip");
const DOWNLOAD_MULTI_ZIP: &[u8] = include_bytes!("fixtures/download_multi.zip");
fn provider(server: &MockServer) -> PodnapisiProvider {
PodnapisiProvider::builder()
fn provider(server: &MockServer) -> Podnapisi {
Podnapisi::builder()
.base_url(format!("{}/subtitles", server.uri()))
.build()
.expect("provider builds")