mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 18:17:39 +08:00
Merge #3208
3208: Stop snapshotting the version of meilisearch in the dump r=Kerollmops a=irevoire It might change, and we don't want to update this test every time we make a new release. Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
commit
34c3e5ec5e
@ -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