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:
Tamo 2022-12-07 13:26:02 +01:00
parent 34c0f11c26
commit 1c3a326199
No known key found for this signature in database
GPG Key ID: 20CD8020AFA88D69

View File

@ -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]"
}
"###);