Fixed unit test.

This commit is contained in:
Martin Edenhofer 2015-10-07 08:10:10 +02:00
parent 7746e01734
commit 6f261af6e5

View file

@ -280,7 +280,7 @@ test( "datetime selector check", function() {
// check params // check params
currentTime = timeStamp.toISOString() 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 ) params = App.ControllerForm.params( el )
test_params = { test_params = {
datetime1: currentTime, datetime1: currentTime,