[BUGFIX] Class 'TYPO3\CMS\Scheduler\Task\AbstractTask' not found 54/26954/4
authorStefano Kowalke <blueduck@gmx.net>
Mon, 20 Jan 2014 20:22:29 +0000 (21:22 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Tue, 21 Jan 2014 09:29:48 +0000 (10:29 +0100)
commit17dc1bf126830c21d8e1d0d48d2ffa3578ff5d02
treea59b82aeb1ccd1cf731ad091bd8e4ca58214c630
parent083f70864f11007674b1c71d2bc479b652515ff0
[BUGFIX] Class 'TYPO3\CMS\Scheduler\Task\AbstractTask' not found

When running UnitTests for UpdateExtensionListTask and the extension
Scheduler is not loaded will raise an Fatal error because it tries to
mock TYPO3\CMS\Extensionmanager\Task\UpdateExtensionListTask which
extends from TYPO3\CMS\Scheduler\Task\AbstractTask.

It is necessary to skip the whole test case because every single test
creates a new instance of
\TYPO3\CMS\Extensionmanager\Task\UpdateExtensionListTask().

Releases: 6.2
Resolves: #55192
Change-Id: I81e69c57d58078cf00e4f8e47a1e8d5c7d984177
Reviewed-on: https://review.typo3.org/26954
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/extensionmanager/Tests/Unit/Task/UpdateExtensionListTaskTest.php