[BUGFIX] Tests: Incomplete mock in ext:scheduler
[Packages/TYPO3.CMS.git] / typo3 / sysext / scheduler / Tests / Unit / Controller / SchedulerModuleControllerTest.php
index 7883d33..adc0864 100644 (file)
@@ -42,7 +42,7 @@ class SchedulerModuleControllerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         * @return void
         */
        public function setUp() {
-               $this->testObject = new \TYPO3\CMS\Scheduler\Controller\SchedulerModuleController();
+               $this->testObject = $this->getMock('TYPO3\\CMS\\Scheduler\\Controller\\SchedulerModuleController', array('dummy'), array(), '', FALSE);
        }
 
        /**