summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2023-12-12 22:43:51 +0100
committerCyborus <cyborus@cyborus.xyz>2023-12-12 22:43:51 +0100
commitc6b075727228959564ab00e989a1da3b9550690d (patch)
tree035cb1d2ae91fc6b6fff491fe803bdef46570f31 /tests
parentapparently content type != mime type (diff)
downloadforgejo-api-c6b075727228959564ab00e989a1da3b9550690d.tar.xz
forgejo-api-c6b075727228959564ab00e989a1da3b9550690d.zip
format
Diffstat (limited to 'tests')
-rw-r--r--tests/ci_test.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/ci_test.rs b/tests/ci_test.rs
index 79447c7..39acbd4 100644
--- a/tests/ci_test.rs
+++ b/tests/ci_test.rs
@@ -299,8 +299,13 @@ async fn admin(api: &forgejo_api::Forgejo) -> eyre::Result<()> {
read_only: None,
title: "Example Key".into(),
};
- let key = api.admin_add_key("Pipis", key_opt).await.wrap_err("failed to create key")?;
- api.admin_delete_key("Pipis", key.id).await.wrap_err("failed to delete key")?;
+ let key = api
+ .admin_add_key("Pipis", key_opt)
+ .await
+ .wrap_err("failed to create key")?;
+ api.admin_delete_key("Pipis", key.id)
+ .await
+ .wrap_err("failed to delete key")?;
let rename_opt = forgejo_api::RenameUserOption {
new_username: "Bepis".into(),