Horde_Kolab_Server_Integration_Scenario::getEnvironments PHP Méthode

getEnvironments() public méthode

Identify the environments we want to run our tests in.
public getEnvironments ( ) : array
Résultat array The selected environments.
    public function getEnvironments()
    {
        if (empty($this->_environments)) {
            /** The mock environment provides our basic test scenario */
            $this->_environments = array(self::ENVIRONMENT_MOCK);
            $testing = getenv('KOLAB_TEST');
            if (!empty($testing)) {
                $this->_environments[] = array(self::ENVIRONMENT_REAL);
            }
        }
        return $this->_environments;
    }