summaryrefslogtreecommitdiffstats
path: root/tests/admin.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/admin.rs')
-rw-r--r--tests/admin.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/admin.rs b/tests/admin.rs
index 06aed66..38d47ba 100644
--- a/tests/admin.rs
+++ b/tests/admin.rs
@@ -139,7 +139,7 @@ async fn key() {
.admin_create_public_key("KeyHolder", key_opt)
.await
.expect("failed to create key");
- api.admin_delete_user_public_key("KeyHolder", key.id.unwrap())
+ api.admin_delete_user_public_key("KeyHolder", key.id.unwrap() as u64)
.await
.expect("failed to delete key");
}
@@ -185,10 +185,10 @@ async fn hook() {
config: None,
events: None,
};
- api.admin_edit_hook(hook.id.unwrap(), edit_hook)
+ api.admin_edit_hook(hook.id.unwrap() as u64, edit_hook)
.await
.expect("failed to edit hook");
- api.admin_delete_hook(hook.id.unwrap())
+ api.admin_delete_hook(hook.id.unwrap() as u64)
.await
.expect("failed to delete hook");
}