summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2023-12-12 22:37:33 +0100
committerCyborus <cyborus@cyborus.xyz>2023-12-12 22:37:33 +0100
commit76b8093decbcb0a30c3e6641d36f42a1a8a4b976 (patch)
tree786214f5e21539fd472216cc40928d65c1e95628 /tests
parenthook content type json (diff)
downloadforgejo-api-76b8093decbcb0a30c3e6641d36f42a1a8a4b976.tar.xz
forgejo-api-76b8093decbcb0a30c3e6641d36f42a1a8a4b976.zip
apparently content type != mime type
Diffstat (limited to 'tests')
-rw-r--r--tests/ci_test.rs2
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(),
},