1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +01:00
phorge-phorge/src/infrastructure
epriestley 515cb98819 When running unit tests, ignore any custom task fields
Summary:
If you have `maniphest.custom-field-definitions` set to include "required" fields, a bunch of tests which create tasks can fail.

To avoid this, reset this config while running tests.

This mechanism should probably be more general (e.g., reset all config by default, only whitelist some config) but just fix this for now since it's a one-liner and doesn't make eventual cleanup any harder.

Test Plan: Ran `arc unit`, hitting tests that create tasks.

Reviewers: chad, 20after4

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D17595
2017-04-02 09:36:17 -07:00
..
cluster Make sure writes go to the right cluster 2017-03-30 18:08:05 +00:00
contentsource Redesign Config Application 2016-08-29 15:49:49 -07:00
customfield Custom fields: Render 'required' for tokenizer fields 2017-04-02 15:26:26 +00:00
daemon Only hibernate the Taskmaster after 15 seconds of inactivity 2017-03-25 05:01:32 -07:00
diff Make Differential inline events actually trigger comment preview refreshes 2017-01-19 12:32:49 -08:00
edges Add a generic "edge.search" method 2017-03-04 15:26:29 -08:00
env Provide PhabricatorEnv::isSelfURI to test if a URI points at the current install 2017-03-17 16:44:53 -07:00
events Modernize Hovercard implementation 2015-12-24 12:18:28 -08:00
graph Allow task graph task titles to go full width 2017-02-10 10:58:15 -08:00
internationalization When accepting revisions, allow users to accept on behalf of a subset of reviewers 2017-03-22 14:25:04 -07:00
javelin When the profiler is active, keep it active if the user submits forms 2017-02-23 11:15:40 -08:00
lint/linter Linter fixes 2015-12-03 07:44:23 +11:00
log Extend from Phobject 2015-06-15 18:02:27 +10:00
management Modularize content sources 2016-03-26 11:59:45 -07:00
markup Fix errors found by PHPStan 2017-02-18 09:24:56 +00:00
query Add a generic "edge.search" method 2017-03-04 15:26:29 -08:00
sms Various linter fixes 2015-08-11 22:36:55 +10:00
ssh Normalize remote IP addresses when writing to logs, etc 2016-12-05 11:20:29 -08:00
storage Fix errors found by PHPStan 2017-02-18 09:24:56 +00:00
syntax Pass the new default syntax highlighting map to the remarkup engine 2016-05-05 02:51:19 -07:00
testing When running unit tests, ignore any custom task fields 2017-04-02 09:36:17 -07:00
time Fix errors found by PHPStan 2017-02-18 09:24:56 +00:00
util Fix some range issues and 32-bit issues with avatar generation 2017-03-23 10:51:33 -07:00
PhabricatorEditor.php Mark some strings for translation 2015-06-09 23:06:52 +10:00