From 3ab0ce5e500f3e86896d6fcebd2a20d75bb9956a Mon Sep 17 00:00:00 2001 From: Vidar Langseid Date: Wed, 7 Feb 2024 14:57:34 +0100 Subject: [PATCH] fixup! IBX-6312: View matcher ParentContentType should not throw execption if parent is not available - fixed test --- .../Tests/Controller/Content/PreviewControllerTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eZ/Publish/Core/MVC/Symfony/Controller/Tests/Controller/Content/PreviewControllerTest.php b/eZ/Publish/Core/MVC/Symfony/Controller/Tests/Controller/Content/PreviewControllerTest.php index 64f8f7e5d8..0e37a3456d 100644 --- a/eZ/Publish/Core/MVC/Symfony/Controller/Tests/Controller/Content/PreviewControllerTest.php +++ b/eZ/Publish/Core/MVC/Symfony/Controller/Tests/Controller/Content/PreviewControllerTest.php @@ -70,7 +70,9 @@ protected function getPreviewController(): PreviewController $this->previewHelper, $this->authorizationChecker, $this->locationProvider, - $this->controllerChecker + $this->controllerChecker, + false, + null ); }