We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b557cab commit 41069d7Copy full SHA for 41069d7
src/middleware.rs
@@ -135,6 +135,8 @@ fn unauthorized_error(req: ServiceRequest) -> ServiceResponse {
135
136
#[cfg(test)]
137
mod tests {
138
+ use crate::api::VersionCheckResult;
139
+
140
use super::*;
141
142
use actix_http::StatusCode;
@@ -290,6 +292,11 @@ mod tests {
290
292
index_html: Path::new("/some/index/html/path").to_path_buf(),
291
293
keycloak_public_key_url: "https://some/keycloak/public/key/url".to_string(),
294
tenant: "cp".to_string(),
295
+ version_check_result: VersionCheckResult {
296
+ req_ods_version: ">0.39.0".to_string(),
297
+ cur_ods_version: "0.40.0".to_string(),
298
+ version_mismatch: false,
299
+ },
300
};
301
302
test::init_service(
0 commit comments