diff --git a/Tests/Unit/Controller/AddressControllerTest.php b/Tests/Unit/Controller/AddressControllerTest.php index 388f7b3a..2cbd0323 100644 --- a/Tests/Unit/Controller/AddressControllerTest.php +++ b/Tests/Unit/Controller/AddressControllerTest.php @@ -208,7 +208,7 @@ public function showActionFillsView() $address->setLastName('Doe'); $assigned = [ 'address' => $address, - 'contentObjectData' => null, + 'contentObjectData' => [], ]; $mockedView = $this->getAccessibleMock(TemplateView::class, ['assignMultiple'], [], '', false); $mockedView->expects(self::once())->method('assignMultiple')->with($assigned);