[BUGFIX] Fix getSiteFinder() mocking in SiteProcessorTest
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Tests / Unit / DataProcessing / SiteProcessorTest.php
index e2cffe2..ef43056 100644 (file)
@@ -60,7 +60,7 @@ class SiteProcessorTest extends UnitTestCase
         $finderMock = $this->getMockBuilder(SiteFinder::class)->disableOriginalConstructor()->getMock();
         $finderMock->expects($this->any())->method('getSiteByPageId')->willThrowException(new SiteNotFoundException('message', 1550670118));
 
-        $subject = $this->getAccessibleMock(SiteProcessor::class, ['getMatcher', 'getCurrentPageId'], []);
+        $subject = $this->getAccessibleMock(SiteProcessor::class, ['getSiteFinder', 'getCurrentPageId'], []);
         $subject->expects($this->any())->method('getSiteFinder')->willReturn($finderMock);
         $subject->expects($this->any())->method('getCurrentPageId')->willReturn(1);