From 6f261af6e51aa33fad91251b447072bd614a53c5 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 7 Oct 2015 08:10:10 +0200 Subject: [PATCH] Fixed unit test. --- public/assets/tests/form-validation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/assets/tests/form-validation.js b/public/assets/tests/form-validation.js index 71a0bf365..6f3d5b840 100644 --- a/public/assets/tests/form-validation.js +++ b/public/assets/tests/form-validation.js @@ -280,7 +280,7 @@ test( "datetime selector check", function() { // check params currentTime = timeStamp.toISOString() - currentTime = currentTime.replace(/(\d\d\.\d\d\dZ)$/, '00.000Z') + currentTime = currentTime.replace(/(\d\d.\d\d.\d\d\.\d\d\dZ)$/, '07:00:00.000Z') params = App.ControllerForm.params( el ) test_params = { datetime1: currentTime,