Skip to content

Commit

Permalink
for use in apitests: export dummy file has a fixed date_created value…
Browse files Browse the repository at this point in the history
…; see #66534
  • Loading branch information
Philipp Hempel committed Jul 27, 2023
1 parent 325ad55 commit dd50b33
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/export/md5_sums.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,16 @@ try {
}
})

// dummy file that contains a timestamp set by the plugin
// dummy file that contains a fixed timestamp set by the plugin
// this is only for apitests
info.export._files.push({
"path": "files/dummy.json",
"format": "application/json",
"export_file_internal": {
"path": "files/dummy.json",
"content_type": "application/json; charset=utf-8",
"plugin_action": "produce?dummy.json",
"date_created": new Date().toISOString(),
"date_created": "2019-05-27T17:42:34.448Z",
"info": {
}
}
Expand Down

0 comments on commit dd50b33

Please sign in to comment.