From 76b8093decbcb0a30c3e6641d36f42a1a8a4b976 Mon Sep 17 00:00:00 2001 From: Cyborus Date: Tue, 12 Dec 2023 16:37:33 -0500 Subject: [PATCH] apparently content type != mime type --- tests/ci_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ci_test.rs b/tests/ci_test.rs index 8fee5d6..79447c7 100644 --- a/tests/ci_test.rs +++ b/tests/ci_test.rs @@ -329,7 +329,7 @@ async fn admin(api: &forgejo_api::Forgejo) -> eyre::Result<()> { authorization_header: None, branch_filter: None, config: forgejo_api::CreateHookOptionConfig { - content_type: "application/json".into(), + content_type: "json".into(), url: url::Url::parse("http://test.local/").unwrap(), other: Default::default(), },