Skip to content

Commit

Permalink
fixup! fixup! IBX-6312: View matcher ParentContentType should not thr…
Browse files Browse the repository at this point in the history
…ow execption if parent is not available - Added test of logging
  • Loading branch information
vidarl authored and tomaszszopinski committed Nov 15, 2024
1 parent be7437f commit 3d8c612
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,8 @@ public function testPreviewWithLogMessage(): void
$this->previewHelper->method('getOriginalSiteAccess')->willReturn($siteAccess);
$this->httpKernel->method('handle')->willThrowException(new NotFoundException('Foo Property', 'foobar'));

$this->logger->expects(
self::once()
)
$this->logger
->expects(self::once())
->method('warning')
->with('Location (42) not found or not available in requested language (eng-GB) when loading the preview page');

Expand Down

0 comments on commit 3d8c612

Please sign in to comment.