Fix(auth): Authorization test were not testing keys unrestricted on index

This commit is contained in:
ManyTheFish 2022-06-08 14:52:32 +02:00
parent 0928f3d41c
commit 17f30c2b2d
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ async fn access_authorized_no_index_restriction() {
server.use_api_key("MASTER_KEY");
let content = json!({
"indexes": ["products"],
"indexes": ["*"],
"actions": [action],
"expiresAt": (OffsetDateTime::now_utc() + Duration::hours(1)).format(&Rfc3339).unwrap(),
});