Skip to content

InstalledVersions::reload does not work anymore since 2.8.4 #12235

@shyim

Description

@shyim

Hey,

since 2.8.4 caused by #12233 InstalledVersions::reload does nothing anymore.

What we do in our unit tests:

InstalledVersions::reload([
            'root' => $before['root'],
            'versions' => [
                'shopware/storefront' => [
                    'version' => '1.0.0',
                    'dev_requirement' => false,
                ],
            ],
        ]);

InstalledVersions::isInstalled('shopware/storefront'); // always false

It seems to load since that PR is always the real installed.php, instead of letting us overwrite it

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions