mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 20:15:07 +08:00
stop snapshotting the version of meilisearch in the dump
It might change and we don't want to update this test everytime we make a new release.
This commit is contained in:
parent
34c0f11c26
commit
1c3a326199
@ -292,10 +292,10 @@ pub(crate) mod test {
|
||||
// ==== checking the top level infos
|
||||
let metadata = fs::read_to_string(dump_path.join("metadata.json")).unwrap();
|
||||
let metadata: Metadata = serde_json::from_str(&metadata).unwrap();
|
||||
insta::assert_json_snapshot!(metadata, { ".dumpDate" => "[date]" }, @r###"
|
||||
insta::assert_json_snapshot!(metadata, { ".dumpDate" => "[date]", ".dbVersion" => "[version]" }, @r###"
|
||||
{
|
||||
"dumpVersion": "V6",
|
||||
"dbVersion": "0.30.1",
|
||||
"dbVersion": "[version]",
|
||||
"dumpDate": "[date]"
|
||||
}
|
||||
"###);
|
||||
|
Loading…
Reference in New Issue
Block a user