uncomment more test for the dump v4
@@ -299,12 +299,12 @@ pub(crate) mod test {
assert!(indexes.is_empty());
// products
- insta::assert_json_snapshot!(products.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
+ insta::assert_json_snapshot!(products.metadata(), @r###"
{
"uid": "products",
"primaryKey": "sku",
- "createdAt": "[now]",
- "updatedAt": "[now]"
+ "createdAt": "2022-10-06T12:53:39.360187055Z",
+ "updatedAt": "2022-10-06T12:53:40.603035979Z"
}
"###);
@@ -314,12 +314,12 @@ pub(crate) mod test {
meili_snap::snapshot_hash!(format!("{:#?}", documents), @"b01c8371aea4c7171af0d4d846a2bdca");
// movies
- insta::assert_json_snapshot!(movies.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
+ insta::assert_json_snapshot!(movies.metadata(), @r###"
{
"uid": "movies",
"primaryKey": "id",
- "createdAt": "[now]",
- "updatedAt": "[now]"
+ "createdAt": "2022-10-06T12:53:38.710611568Z",
+ "updatedAt": "2022-10-06T12:53:49.785862546Z"
}
"###);
@@ -329,12 +329,12 @@ pub(crate) mod test {
meili_snap::snapshot_hash!(format!("{:#?}", documents), @"786022a66ecb992c8a2a60fee070a5ab");
// spells
- insta::assert_json_snapshot!(spells.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
+ insta::assert_json_snapshot!(spells.metadata(), @r###"
{
"uid": "dnd_spells",
"primaryKey": "index",
- "createdAt": "[now]",
- "updatedAt": "[now]"
+ "createdAt": "2022-10-06T12:53:40.831649057Z",
+ "updatedAt": "2022-10-06T12:53:41.116036186Z"
}
"###);
