Skip to content

Commit 0a70afd

Browse files
committed
[BUGFIX] Avoid notices in tests
1 parent 5e4a9c3 commit 0a70afd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/Unit/Renderer/RecordRendererTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function configurationIsGeneratedCorrectlyFromRequest(array $requestArgum
105105
$tsfeMock = $this->getMockBuilder('TYPO3\\CMS\\Frontend\\Controller\\TypoScriptFrontendController')
106106
->disableOriginalConstructor()
107107
->getMock();
108-
$pageRepositoryMock = $this->getMockBuilder('TYPO3\\CMS\\Frontend\\Page\\PageRepository')->getMock();
108+
$pageRepositoryMock = $this->getMockBuilder('TYPO3\\CMS\\Frontend\\Page\\PageRepository')->disableOriginalConstructor()->getMock();
109109
$pageRepositoryMock->expects($this->any())->method('getRootLine')->willReturn(
110110
[
111111
[

0 commit comments

Comments
 (0)