1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 01:38:48 +02:00
phorge-phorge/src/infrastructure/env
epriestley 0f06287dc5 Allow PhabricatorEnv to be temporarily made mutable for unit tests
Summary: Introduces a scope-guarded way to override the env config, for unit tests which are sensitive to config values.

Test Plan: Ran unit tests.

Reviewers: btrahan, vrana, jungejason

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D2237
2012-04-17 07:52:01 -07:00
..
__tests__ Allow PhabricatorEnv to be temporarily made mutable for unit tests 2012-04-17 07:52:01 -07:00
__init__.php Allow PhabricatorEnv to be temporarily made mutable for unit tests 2012-04-17 07:52:01 -07:00
PhabricatorEnv.php Allow PhabricatorEnv to be temporarily made mutable for unit tests 2012-04-17 07:52:01 -07:00
PhabricatorScopedEnv.php Allow PhabricatorEnv to be temporarily made mutable for unit tests 2012-04-17 07:52:01 -07:00