[BUGFIX] Remove the need of PackageStates.php in tests
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Unit / Package / PackageManagerTest.php
index 106f760..95a6f1a 100644 (file)
@@ -54,9 +54,9 @@ class PackageManagerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                $this->packageManager->injectClassLoader($mockClassLoader);
                $this->packageManager->injectCoreCache($mockCache);
                $this->inject($this->packageManager, 'composerNameToPackageKeyMap', $composerNameToPackageKeyMap);
-               $this->packageManager->initialize($mockBootstrap);
                $this->packageManager->_set('packagesBasePath', 'vfs://Test/Packages/');
                $this->packageManager->_set('packageStatesPathAndFilename', 'vfs://Test/Configuration/PackageStates.php');
+               $this->packageManager->initialize($mockBootstrap);
        }
 
        /**