From 5750de46e9c8b5bdfd02e94411144e7baaedd9ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Wed, 8 Jun 2022 23:55:34 +0200 Subject: [PATCH] cron --- tests/JsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/JsTest.php b/tests/JsTest.php index 16b69c12ee..8d772a7798 100644 --- a/tests/JsTest.php +++ b/tests/JsTest.php @@ -25,7 +25,7 @@ public function testNumbers(): void } $longStrBase = '"a":10,"b":9007199254740992,x="\"c\":10,\"d\":9007199254740992,"'; - $longStr = str_repeat($longStrBase, intdiv(isset($_ENV['CI']) ? 17_500_000 : 500_000, strlen($longStrBase))); + $longStr = str_repeat($longStrBase, intdiv(isset($_ENV['CI']) && ($_ENV['GITHUB_EVENT_NAME'] ?? null) === 'cron' ? 7_500_000 : 500_000, strlen($longStrBase))); foreach ([ ['10', '"10"'], [10, '10'],