[TASK] Only show active packages in PackageStates.php
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Package / UnitTestPackageManager.php
index 3f95c6f..ac93de4 100644 (file)
@@ -30,7 +30,9 @@ class UnitTestPackageManager extends PackageManager
     public function initialize()
     {
         $this->scanAvailablePackages();
-        $this->activePackages = $this->packages;
+        foreach ($this->packages as $package) {
+            $this->registerActivePackage($package);
+        }
     }
 
     /**