mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-09-17 16:36:46 -04:00
test(search): set Mtime on opensearch folder and root fixtures
The Mtime field is mapped as an OpenSearch `date`, which rejects an empty value with `mapper_parsing_exception: cannot parse empty date`. The folder and root fixtures had no Mtime, so serializing them to `"Mtime": ""` made TestEngine_Purge/purge_resource_trees fail when the document was indexed. Give both a valid RFC3339 Mtime, matching the file fixture.
This commit is contained in:
1 parent
6695f99c90
commit
7cc144a9c3
2 files changed
+4
-2
No files matched your search
@@ -3,5 +3,6 @@
|
||||
"RootID" : "1$1!1",
|
||||
"ParentID" : "1$1!1",
|
||||
"Path" : "./parent d!r",
|
||||
"Type" : 2
|
||||
"Type" : 2,
|
||||
"Mtime" : "2025-07-24T15:15:01.324093+02:00"
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"ID" : "1$1!1",
|
||||
"RootID" : "1$1!1",
|
||||
"Path" : "."
|
||||
"Path" : ".",
|
||||
"Mtime" : "2025-07-24T15:15:01.324093+02:00"
|
||||
}
|
||||
Reference in new issue
Block a user