From 2d9266d915c8d8becc449293618de6458e6ebaec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Tue, 20 Aug 2024 09:24:19 +0000 Subject: [PATCH] Fix benchmark vaalidator failure --- tests/unit/Functions/Validator/HeadersBench.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/Functions/Validator/HeadersBench.php b/tests/unit/Functions/Validator/HeadersBench.php index a551cea729..e1f9fcc5ff 100644 --- a/tests/unit/Functions/Validator/HeadersBench.php +++ b/tests/unit/Functions/Validator/HeadersBench.php @@ -40,9 +40,9 @@ final class HeadersBench $value = []; for($i = 0; $i < 100; $i++) { - $value[bin2hex(random_bytes(64))] = bin2hex(random_bytes(64)); + $value[bin2hex(random_bytes(32))] = bin2hex(random_bytes(32)); } - yield 'items_100-size_25600' => [ 'value' => $value ]; + yield 'items_100-size_12800' => [ 'value' => $value ]; } #[BeforeMethods('prepare')]