diff --git a/dump/src/reader/mod.rs b/dump/src/reader/mod.rs index 5d50173ef..0a2d14008 100644 --- a/dump/src/reader/mod.rs +++ b/dump/src/reader/mod.rs @@ -169,7 +169,7 @@ pub(crate) mod test { // keys let keys = dump.keys().collect::>>().unwrap(); - insta::assert_json_snapshot!(keys); + insta::assert_json_snapshot!(keys, { "[].uid" => "[uuid]" }); // indexes let mut indexes = dump.indexes().unwrap().collect::>>().unwrap(); diff --git a/dump/src/reader/snapshots/dump__reader__test__import_dump_v4-4.snap b/dump/src/reader/snapshots/dump__reader__test__import_dump_v4-4.snap index 86cc4060a..4274b1369 100644 --- a/dump/src/reader/snapshots/dump__reader__test__import_dump_v4-4.snap +++ b/dump/src/reader/snapshots/dump__reader__test__import_dump_v4-4.snap @@ -5,7 +5,7 @@ expression: keys [ { "description": "Default Search API Key (Use it to search from the frontend)", - "uid": "7bc06c90-ca16-4eb9-838e-2be2d17e51a9", + "uid": "[uuid]", "actions": [ "search" ], @@ -18,7 +18,7 @@ expression: keys }, { "description": "Default Admin API Key (Use it for all other operations. Caution! Do not use it on a public frontend)", - "uid": "ab9d6a00-7940-4278-b824-1755c98c1849", + "uid": "[uuid]", "actions": [ "*" ], diff --git a/dump/src/reader/v4/mod.rs b/dump/src/reader/v4/mod.rs index 81fd63941..27c1aa89d 100644 --- a/dump/src/reader/v4/mod.rs +++ b/dump/src/reader/v4/mod.rs @@ -257,7 +257,7 @@ pub(crate) mod test { // keys let keys = dump.keys().collect::>>().unwrap(); - insta::assert_json_snapshot!(keys); + insta::assert_json_snapshot!(keys, { "[].uid" => "[uuid]" }); // indexes let mut indexes = dump.indexes().unwrap().collect::>>().unwrap();