Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/testing/PhabricatorTestCase.php
Show First 20 Lines • Show All 114 Lines • ▼ Show 20 Lines | protected function willRunTests() { | ||||
$this->env->overrideEnvConfig( | $this->env->overrideEnvConfig( | ||||
'notification.enabled', | 'notification.enabled', | ||||
false); | false); | ||||
$this->env->overrideEnvConfig( | $this->env->overrideEnvConfig( | ||||
'phabricator.base-uri', | 'phabricator.base-uri', | ||||
'http://phabricator.example.com'); | 'http://phabricator.example.com'); | ||||
$this->env->overrideEnvConfig( | |||||
'auth.email-domains', | |||||
array()); | |||||
// Tests do their own stubbing/voiding for events. | // Tests do their own stubbing/voiding for events. | ||||
$this->env->overrideEnvConfig('phabricator.silent', false); | $this->env->overrideEnvConfig('phabricator.silent', false); | ||||
} | } | ||||
protected function didRunTests() { | protected function didRunTests() { | ||||
$config = $this->getComputedConfiguration(); | $config = $this->getComputedConfiguration(); | ||||
if ($config[self::PHABRICATOR_TESTCONFIG_ISOLATE_LISK]) { | if ($config[self::PHABRICATOR_TESTCONFIG_ISOLATE_LISK]) { | ||||
▲ Show 20 Lines • Show All 99 Lines • Show Last 20 Lines |