From: Sven Schöling Date: Wed, 18 Oct 2017 11:52:31 +0000 (+0200) Subject: kivi.Validator: Tests auf strikteres parse_date geändert X-Git-Tag: release-3.5.4~674 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=fd7a37bf089105cb58934103921abec19c243e9d;p=kivitendo-erp.git kivi.Validator: Tests auf strikteres parse_date geändert --- diff --git a/js/t/kivi/parse_format_date.js b/js/t/kivi/parse_format_date.js index 8a675d7cd..51a39d056 100644 --- a/js/t/kivi/parse_format_date.js +++ b/js/t/kivi/parse_format_date.js @@ -22,7 +22,7 @@ QUnit.test("kivi.parse_date function for German date style with dots", function( assert.deepEqual(kivi.parse_date("Totally Invalid!"), undefined); assert.deepEqual(kivi.parse_date(":"), undefined); assert.deepEqual(kivi.parse_date("::"), undefined); - assert.deepEqual(kivi.parse_date(""), undefined); + assert.deepEqual(kivi.parse_date(""), null); }); QUnit.test("kivi.parse_date function for German date style with slashes", function( assert ) {