[TASK] Consistently retrieve ApplicationContext from GeneralUtility
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Core / ClassLoadingInformation.php
index 8eaf7a4..2c9ef4a 100644 (file)
@@ -214,7 +214,7 @@ class ClassLoadingInformation
      */
     protected static function isTestingContext()
     {
-        return Bootstrap::getInstance()->getApplicationContext()->isTesting();
+        return GeneralUtility::getApplicationContext()->isTesting();
     }
 
     /**