fix tests

This commit is contained in:
ad hoc 2022-05-24 16:47:10 +02:00
parent 7b47e4e87a
commit 0f9c134114
No known key found for this signature in database
GPG key ID: 4F00A782990CC643
5 changed files with 45 additions and 172 deletions

View file

@ -45,7 +45,6 @@ pub static AUTHORIZATIONS: Lazy<HashMap<(&'static str, &'static str), HashSet<&'
("GET", "/indexes/products/stats") => hashset!{"stats.get", "*"},
("GET", "/stats") => hashset!{"stats.get", "*"},
("POST", "/dumps") => hashset!{"dumps.create", "*"},
("GET", "/dumps/0/status") => hashset!{"dumps.get", "*"},
("GET", "/version") => hashset!{"version", "*"},
}
});