Skip to content

Commit

Permalink
[BUGFIX] Fix wrong test
Browse files Browse the repository at this point in the history
  • Loading branch information
georgringer committed Jul 7, 2024
1 parent a021519 commit 1f4a299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Unit/Controller/AddressControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1f4a299

Please sign in to comment.