Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/testing/PhabricatorTestCase.php
| Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Lines | protected function willRunTests() { | ||||
| // installed, regardless of the install's configuration. Tests which need | // installed, regardless of the install's configuration. Tests which need | ||||
| // to uninstall applications are responsible for adjusting state themselves | // to uninstall applications are responsible for adjusting state themselves | ||||
| // (such tests are exceedingly rare). | // (such tests are exceedingly rare). | ||||
| $this->env->overrideEnvConfig( | $this->env->overrideEnvConfig( | ||||
| 'phabricator.uninstalled-applications', | 'phabricator.uninstalled-applications', | ||||
| array()); | array()); | ||||
| $this->env->overrideEnvConfig( | $this->env->overrideEnvConfig( | ||||
| 'phabricator.show-beta-applications', | 'phabricator.show-prototypes', | ||||
| true); | true); | ||||
| // Reset application settings to defaults, particularly policies. | // Reset application settings to defaults, particularly policies. | ||||
| $this->env->overrideEnvConfig( | $this->env->overrideEnvConfig( | ||||
| 'phabricator.application-settings', | 'phabricator.application-settings', | ||||
| array()); | array()); | ||||
| // We can't stub this service right now, and it's not generally useful | // We can't stub this service right now, and it's not generally useful | ||||
| ▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines | |||||