[BUGFIX] Class 'TYPO3\CMS\Scheduler\Task\AbstractTask' not found
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Tests / Unit / Task / UpdateExtensionListTaskTest.php
index c843e44..19c1cd2 100644 (file)
@@ -45,6 +45,9 @@ class UpdateExtensionListTaskTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTest
         * Set up
         */
        public function setUp() {
+               if (!\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('scheduler')) {
+                       $this->markTestSkipped('Tests need EXT:scheduler loaded.');
+               }
                $this->singletonInstances = \TYPO3\CMS\Core\Utility\GeneralUtility::getSingletonInstances();
                $this->repositoryHelper = $this->getMock('TYPO3\\CMS\\Extensionmanager\\Utility\\Repository\\Helper', array(), array(), '', FALSE);
        }