PHP 7.2 compatbility

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2022-03-22 16:03:22 +01:00
parent cffcd4fd66
commit f840bbba11
2 changed files with 3 additions and 3 deletions
@@ -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);
+2 -2
View File
@@ -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));