mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 02:42:40 +01:00
8d048f06ab
Summary: Fixes T11610. Clean up some sketchy old code from long ago. If you had rules that use conditions like "Accepted revision exists" and ran them in the test console, we'd never load the "CommitData" and fatal. Instead, load CommitData in `newTestAdapter()` and generally make these pathways a little more modern. Test Plan: - Wrote an "Accepted Revision Exists" rule. - Ran a commit in the test console. - Before patch, got fatal from T11610. - After patch, got clean test result. - Also pushed a commit and reviewed the transcript to make sure the rule ran properly. Reviewers: joshuaspence, chad Reviewed By: chad Maniphest Tasks: T11610 Differential Revision: https://secure.phabricator.com/D16522 |
||
---|---|---|
.. | ||
HeraldController.php | ||
HeraldDisableController.php | ||
HeraldNewController.php | ||
HeraldRuleController.php | ||
HeraldRuleListController.php | ||
HeraldRuleViewController.php | ||
HeraldTestConsoleController.php | ||
HeraldTranscriptController.php | ||
HeraldTranscriptListController.php |