summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2023-12-12 20:15:33 +0100
committerCyborus <cyborus@cyborus.xyz>2023-12-12 20:15:33 +0100
commit2978d34a872bef4db76e7138d3bedda8f4d8759c (patch)
tree01c35cf16fed683d725c4f7683edb324af86729a /tests
parentrunning cron should call `post_unit` (diff)
downloadforgejo-api-2978d34a872bef4db76e7138d3bedda8f4d8759c.tar.xz
forgejo-api-2978d34a872bef4db76e7138d3bedda8f4d8759c.zip
hook content type json
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 d57f5a0..8fee5d6 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: "text/plain".into(),
+ content_type: "application/json".into(),
url: url::Url::parse("http://test.local/").unwrap(),
other: Default::default(),
},