<?php
/**
 * @file
 * A script containing any set-up steps required for PHPUnit testing.
 */

require __DIR__ . '/../vendor/autoload.php';

putenv((new \Platformsh\Cli\CliConfig())->get('application.env_prefix') . 'DRUSH=' . CLI_ROOT . '/vendor/bin/drush');

<?php
/**
 * @file
 * A script containing any set-up steps required for PHPUnit testing.
 */

require __DIR__ . '/../vendor/autoload.php';

$env_prefix = (new \Platformsh\Cli\CliConfig())->get('application.env_prefix');
if (!getenv($env_prefix)) {
    putenv($env_prefix . 'DRUSH=' . CLI_ROOT . '/vendor/bin/drush');
}

Allow Drush location to be overridden for tests
Allow Drush location to be overridden for tests
