From 16b1958c01adc0046e1071c748cb875593865365 Mon Sep 17 00:00:00 2001 From: Emmie Maeda Date: Thu, 19 Oct 2023 21:17:35 -0400 Subject: [PATCH] Fix tests. --- deepwell/src/services/blob/mime.rs | 2 +- deepwell/src/web/fetch_direction.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/deepwell/src/services/blob/mime.rs b/deepwell/src/services/blob/mime.rs index d37a87716c..49cc3627a6 100644 --- a/deepwell/src/services/blob/mime.rs +++ b/deepwell/src/services/blob/mime.rs @@ -127,7 +127,7 @@ async fn mime_request() { const TAR_GZIP: &[u8] = b"\x1f\x8b\x08\x08\xb1\xb7\x8f\x62\x00\x03\x78\x00\x03\x00\x00\x00\x00"; - let mime = MimeAnalyzer::spawn().expect("MIME analyzer job did not start"); + let mime = MimeAnalyzer::spawn(); macro_rules! check { ($bytes:expr, $expected:expr $(,)?) => {{ diff --git a/deepwell/src/web/fetch_direction.rs b/deepwell/src/web/fetch_direction.rs index 24778261f8..ea8c904db8 100644 --- a/deepwell/src/web/fetch_direction.rs +++ b/deepwell/src/web/fetch_direction.rs @@ -35,6 +35,7 @@ use strum_macros::EnumIter; PartialEq, Eq, )] +#[serde(rename_all = "kebab-case")] pub enum FetchDirection { /// Retrieves items prior (earlier) to this one. Before,