From fa038ded3d8b17169b6dcd22200f24eeaa3604f0 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Wed, 26 Apr 2023 16:42:27 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B06254=20ItopDataTestCase::CreateUserReque?= =?UTF-8?q?st=20:=20fix=20new=20argument=20default=20value=20Was=20creatin?= =?UTF-8?q?g=20error=20Too=20few=20arguments=20passed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/php-unit-tests/ItopDataTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/php-unit-tests/ItopDataTestCase.php b/tests/php-unit-tests/ItopDataTestCase.php index 4dfd2a5ae..6315ccc4d 100644 --- a/tests/php-unit-tests/ItopDataTestCase.php +++ b/tests/php-unit-tests/ItopDataTestCase.php @@ -305,7 +305,7 @@ class ItopDataTestCase extends ItopTestCase * @uses \array_merge() * @uses createObject */ - protected function CreateUserRequest($iNum, $aUserRequestCustomParams) { + protected function CreateUserRequest($iNum, $aUserRequestCustomParams = []) { $aUserRequestDefaultParams = [ 'ref' => 'Ticket_'.$iNum, 'title' => 'BUG 1161_'.$iNum,