test all the api key error codes

This commit is contained in:
Tamo
2023-01-24 17:30:35 +01:00
parent e664f09045
commit aa17a54feb
4 changed files with 448 additions and 9 deletions

View File

@ -811,7 +811,7 @@ async fn import_dump_v5() {
assert_eq!(code, 200);
assert_eq!(stats, expected_stats);
let (keys, code) = server.list_api_keys().await;
let (keys, code) = server.list_api_keys("").await;
assert_eq!(code, 200);
let key = &keys["results"][0];