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');
    }