Private GIT

Skip to content
Snippets Groups Projects
Unverified Commit ca0414b2 authored by Kevin Duret's avatar Kevin Duret Committed by GitHub
Browse files

fix(test): fix acceptance tests on relatime downtime api (#6179)

parent 7a92082c
Branches
Tags v4.1.0.1
No related merge requests found
......@@ -5676,7 +5676,7 @@
"exec": [
"postman.setGlobalVariable(\"fixed\", \"1\");",
"",
"var date = new Date();",
"var date = new Date(new Date().toLocaleString(\"en-US\", {timeZone: \"Europe/Paris\"}));",
"var datetime_start = date.getFullYear() + \"/\" + ('0' + (date.getMonth()+1)).slice(-2) + \"/\" + ('0' + date.getDate()).slice(-2) + \" \" + ('0' + date.getHours()).slice(-2) + \":\" + ",
" ('0' + date.getMinutes()).slice(-2);",
"postman.setEnvironmentVariable(\"start_time\", datetime_start);",
......@@ -5752,7 +5752,7 @@
"exec": [
"postman.setGlobalVariable(\"fixed\", \"1\");",
"",
"var date = new Date();",
"var date = new Date(new Date().toLocaleString(\"en-US\", {timeZone: \"Europe/Paris\"}));",
"var datetime_start = date.getFullYear() + \"/\" + ('0' + (date.getMonth()+1)).slice(-2) + \"/\" + ('0' + date.getDate()).slice(-2) + \" \" + ('0' + date.getHours()).slice(-2) + \":\" + ",
" ('0' + date.getMinutes()).slice(-2);",
"postman.setEnvironmentVariable(\"start_time\", datetime_start);",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment