feat(api): subtitle lamps in the health report
This commit is contained in:
@@ -1705,6 +1705,10 @@ mod tests {
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
fn probe(&self) -> arr_subs::ProbeFuture<'_> {
|
||||
Box::pin(async move { Ok(()) })
|
||||
}
|
||||
}
|
||||
|
||||
/// A provider that is configured but never answers.
|
||||
@@ -1732,6 +1736,14 @@ mod tests {
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
fn probe(&self) -> arr_subs::ProbeFuture<'_> {
|
||||
Box::pin(async move {
|
||||
Err(arr_subs::Error::Unauthorized {
|
||||
provider: ProviderId::new("dead"),
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
/// Uppercases every cue. Enough to prove the pipeline, and it keeps cue
|
||||
@@ -1760,6 +1772,10 @@ mod tests {
|
||||
.collect())
|
||||
})
|
||||
}
|
||||
|
||||
fn probe(&self) -> arr_subs::translate::ProbeFuture<'_> {
|
||||
Box::pin(async move { Ok(()) })
|
||||
}
|
||||
}
|
||||
|
||||
struct Fixture {
|
||||
|
||||
Reference in New Issue
Block a user