mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 20:15:07 +08:00
fix the test once again
This commit is contained in:
parent
efe0a5f422
commit
026f6fb06a
@ -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": [
|
||||||
"*"
|
"*"
|
||||||
],
|
],
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user