VersionPress\Tests\Automation\WpAutomation::isCorrectlyDownloaded PHP Метод

isCorrectlyDownloaded() приватный Метод

Checks that clean WP installation is available and downloaded correctly. (Simple implementation for now, just checking some basic paths.)
private isCorrectlyDownloaded ( string $cleanInstallationPath ) : boolean
$cleanInstallationPath string
Результат boolean
    private function isCorrectlyDownloaded($cleanInstallationPath)
    {
        return is_dir($cleanInstallationPath) && is_file($cleanInstallationPath . '/wp-settings.php');
    }