diff options
author | Cyborus <cyborus@cyborus.xyz> | 2023-12-12 22:37:33 +0100 |
---|---|---|
committer | Cyborus <cyborus@cyborus.xyz> | 2023-12-12 22:37:33 +0100 |
commit | 76b8093decbcb0a30c3e6641d36f42a1a8a4b976 (patch) | |
tree | 786214f5e21539fd472216cc40928d65c1e95628 | |
parent | hook content type json (diff) | |
download | forgejo-api-76b8093decbcb0a30c3e6641d36f42a1a8a4b976.tar.xz forgejo-api-76b8093decbcb0a30c3e6641d36f42a1a8a4b976.zip |
apparently content type != mime type
-rw-r--r-- | tests/ci_test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(), }, |