VersionPress\Tests\Automation\WpAutomation::prepareStandardWpInstallation PHP Method

prepareStandardWpInstallation() private method

Puts WP directory to a default state, as if one manually downloaded the WordPress ZIP and extracted it there. Removes all old files if necessary.
    private function prepareStandardWpInstallation()
    {
        $this->ensureCleanInstallationIsAvailable();
        FileSystem::copyDir($this->getCleanInstallationPath(), $this->siteConfig->path);
        $this->createConfigFile();
    }