2009-11-29 Oliver Hader <oliver@typo3.org>
* Fixed bug #12786: Wrong mouseover cursor at icon of docheader (thanks to Georg Ringer)
2009-11-29 Oliver Hader <oliver@typo3.org>
* Fixed bug #12786: Wrong mouseover cursor at icon of docheader (thanks to Georg Ringer)
+ * Fixed bug #12792: Unit test checkGetExtensionKeyByPrefix of the t3lib_extmgm_testcase fails
2009-11-26 Francois Suter <francois@typo3.org>
2009-11-26 Francois Suter <francois@typo3.org>
+ /**
+ * Clears the extension key map.
+ *
+ * @return void
+ */
+ public static function clearExtensionKeyMap() {
+ self::$extensionKeyMap = NULL;
+ }
+
$GLOBALS['TYPO3_LOADED_EXT']['tt_news' . $uniqueSuffix] = array();
$GLOBALS['TYPO3_LOADED_EXT']['kickstarter' . $uniqueSuffix] = array();
$GLOBALS['TYPO3_LOADED_EXT']['tt_news' . $uniqueSuffix] = array();
$GLOBALS['TYPO3_LOADED_EXT']['kickstarter' . $uniqueSuffix] = array();
+ t3lib_extMgm::clearExtensionKeyMap();
+
$this->assertEquals(
'tt_news' . $uniqueSuffix,
t3lib_extMgm::getExtensionKeyByPrefix('tx_ttnews' . $uniqueSuffix)
$this->assertEquals(
'tt_news' . $uniqueSuffix,
t3lib_extMgm::getExtensionKeyByPrefix('tx_ttnews' . $uniqueSuffix)