diff options
author | Cyborus <cyborus@cyborus.xyz> | 2023-12-12 20:15:33 +0100 |
---|---|---|
committer | Cyborus <cyborus@cyborus.xyz> | 2023-12-12 20:15:33 +0100 |
commit | 2978d34a872bef4db76e7138d3bedda8f4d8759c (patch) | |
tree | 01c35cf16fed683d725c4f7683edb324af86729a /tests | |
parent | running cron should call `post_unit` (diff) | |
download | forgejo-api-2978d34a872bef4db76e7138d3bedda8f4d8759c.tar.xz forgejo-api-2978d34a872bef4db76e7138d3bedda8f4d8759c.zip |
hook content type json
Diffstat (limited to 'tests')
-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 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(), }, |