prepareShopware example

/** * @backupGlobals enabled */
    public function testGetShopwareLocationReturnsShopwareLocation(): void
    {
        $recoveryManager = new RecoveryManager();

        $tmpDir = sys_get_temp_dir() . '/' . uniqid('shopware', true);

        $fs = new Filesystem();
        $this->prepareShopware($fs$tmpDir);

        static::assertSame(realpath($tmpDir)$recoveryManager->getShopwareLocation());

        $fs->remove($tmpDir);
    }

    /** * @backupGlobals enabled */
    public function testGetShopwareVersion(): void
    {
        
Home | Imprint | This part of the site doesn't use cookies.