Homec4science

Allow PhabricatorEnv to be temporarily made mutable for unit tests

Authored by epriestley <git@epriestley.com> on Apr 17 2012, 16:52.

Description

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

Details

Committed
epriestley <git@epriestley.com>Apr 17 2012, 16:52
Pushed
aubortJan 31 2017, 17:16
Parents
rPH9531496d66cc: Add "X-Auto-Response-Suppress" header to all outgoing mail
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH0f06287dc564: Allow PhabricatorEnv to be temporarily made mutable for unit tests (authored by epriestley <git@epriestley.com>).Apr 17 2012, 16:52