Skip to content

Commit

Permalink
[TESTS] try to fix failures on PHP 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
pspanja committed Nov 20, 2017
1 parent 2ab6e5e commit b801c7b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/lib/Unit/Core/Site/Values/ContentTest.php
Expand Up @@ -307,7 +307,9 @@ protected function getContentTypeServiceMock()
->expects($this->any())
->method('loadContentType')
->with('contentTypeId')
->willReturn(new ContentType());
->willReturn(new ContentType([
'fieldDefinitions' => [],
]));

return $this->contentTypeServiceMock;
}
Expand Down

0 comments on commit b801c7b

Please sign in to comment.