From e0b8deae8b4e9ec8a7f0ba8a4deb4bf47917100d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20L=C3=BCcke?= Date: Tue, 6 Apr 2021 16:23:30 +0200 Subject: [PATCH] =?UTF-8?q?Es=20war=20nicht=20ganz=20klar,=20wir=20der=20A?= =?UTF-8?q?ufbau=20f=C3=BCr=20*Regexe*=20war=20und=20das=20die=20Stunden?= =?UTF-8?q?=20deutlich=20gr=C3=B6=C3=9Fer=20als=2060=20sein=20k=C3=B6nnen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/tests/_support/Helper/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tests/_support/Helper/Api.php b/api/tests/_support/Helper/Api.php index 3e4b310..d257c14 100644 --- a/api/tests/_support/Helper/Api.php +++ b/api/tests/_support/Helper/Api.php @@ -9,7 +9,7 @@ use Codeception\Module; class Api extends Module { - const FORMAT_TIME = 'string:regex([0-5]\d:[0-5]\d:[0-5]\d)'; + const FORMAT_TIME = 'string:regex(/\d+:[0-5]\d:[0-5]\d/)'; const WORKING_HOURS_JSON_FORMAT = [ 'date' => 'string:date',