diff options
Diffstat (limited to 'tests/ci_test.rs')
-rw-r--r-- | tests/ci_test.rs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/ci_test.rs b/tests/ci_test.rs index 925dc2e..0d03074 100644 --- a/tests/ci_test.rs +++ b/tests/ci_test.rs @@ -403,13 +403,9 @@ async fn admin() { authorization_header: None, branch_filter: None, config: CreateHookOptionConfig { - // content_type: "json".into(), - // url: url::Url::parse("http://test.local/").unwrap(), - additional: [ - ("content_type".into(), "json".into()), - ("url".into(), "http://test.local/".into()), - ] - .into(), + content_type: "json".into(), + url: url::Url::parse("http://test.local/").unwrap(), + additional: Default::default(), }, events: Some(Vec::new()), r#type: CreateHookOptionType::Gitea, |