fix the test once again

This commit is contained in:
Tamo 2022-10-07 13:19:46 +02:00 committed by Clément Renault
parent efe0a5f422
commit 026f6fb06a
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ expression: keys
{ {
"description": "Default Search API Key (Use it to search from the frontend)", "description": "Default Search API Key (Use it to search from the frontend)",
"name": null, "name": null,
"uid": "2b8d662e-8089-4115-873f-6a4e517053b8", "uid": "[uuid]",
"actions": [ "actions": [
"search" "search"
], ],
@ -20,7 +20,7 @@ expression: keys
{ {
"description": "Default Admin API Key (Use it for all other operations. Caution! Do not use it on a public frontend)", "description": "Default Admin API Key (Use it for all other operations. Caution! Do not use it on a public frontend)",
"name": null, "name": null,
"uid": "a711024d-ef01-43ff-bd35-e05434e703f7", "uid": "[uuid]",
"actions": [ "actions": [
"*" "*"
], ],

View File

@ -371,7 +371,7 @@ pub(crate) mod test {
// keys // keys
let keys = dump.keys().collect::<Result<Vec<_>>>().unwrap(); let keys = dump.keys().collect::<Result<Vec<_>>>().unwrap();
insta::assert_json_snapshot!(keys); insta::assert_json_snapshot!(keys, { "[].uid" => "[uuid]" });
// indexes // indexes
let mut indexes = dump.indexes().unwrap().collect::<Result<Vec<_>>>().unwrap(); let mut indexes = dump.indexes().unwrap().collect::<Result<Vec<_>>>().unwrap();