From f840bbba1159729d4986ae7c39c7fba3763d8d0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 22 Mar 2022 14:32:55 +0100 Subject: [PATCH] PHP 7.2 compatbility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- tests/unit/Notification/NotificationHelperTest.php | 2 +- tests/unit/Service/AttachmentServiceTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/Notification/NotificationHelperTest.php b/tests/unit/Notification/NotificationHelperTest.php index c4f0fd9cd..c831afebe 100644 --- a/tests/unit/Notification/NotificationHelperTest.php +++ b/tests/unit/Notification/NotificationHelperTest.php @@ -124,7 +124,7 @@ class NotificationHelperTest extends \Test\TestCase { ->withConsecutive( [$param1[0], $param2, $param3, $DUE_ASSIGNED], [$param1[1], $param2, $param3, $DUE_ASSIGNED], - [$param1[2], $param2, $param3, $DUE_ASSIGNED], + [$param1[2], $param2, $param3, $DUE_ASSIGNED] ) ->willReturn(ConfigService::SETTING_BOARD_NOTIFICATION_DUE_ALL); diff --git a/tests/unit/Service/AttachmentServiceTest.php b/tests/unit/Service/AttachmentServiceTest.php index e90692b8a..1abad585a 100644 --- a/tests/unit/Service/AttachmentServiceTest.php +++ b/tests/unit/Service/AttachmentServiceTest.php @@ -218,11 +218,11 @@ class AttachmentServiceTest extends TestCase { ->method('extendData') ->withConsecutive( [$attachments[0]], - [$attachments[1]], + [$attachments[1]] ) ->willReturnOnConsecutiveCalls( $attachments[0], - $attachments[1], + $attachments[1] ); $this->assertEquals($attachments, $this->attachmentService->findAll(123, false));