From b801c7b09e480ebc4f0aeab5c6ae10621d84d2d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petar=20=C5=A0panja?= Date: Fri, 20 Oct 2017 13:17:24 +0200 Subject: [PATCH] [TESTS] try to fix failures on PHP 5.5 --- tests/lib/Unit/Core/Site/Values/ContentTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/lib/Unit/Core/Site/Values/ContentTest.php b/tests/lib/Unit/Core/Site/Values/ContentTest.php index 079d3321..4eb0ba2c 100644 --- a/tests/lib/Unit/Core/Site/Values/ContentTest.php +++ b/tests/lib/Unit/Core/Site/Values/ContentTest.php @@ -307,7 +307,9 @@ protected function getContentTypeServiceMock() ->expects($this->any()) ->method('loadContentType') ->with('contentTypeId') - ->willReturn(new ContentType()); + ->willReturn(new ContentType([ + 'fieldDefinitions' => [], + ])); return $this->contentTypeServiceMock; }