mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +01:00
Support more aliases of "Test Plan" in commit messages
Summary: Add support for "tests", "testplan" and "tested" as alias of "Test Plan". Test Plan: Created a diff with test plan specified in "tests". Reviewers: csilvers, btrahan Reviewed By: csilvers CC: aran Differential Revision: https://secure.phabricator.com/D2531
This commit is contained in:
parent
0461cd6e4f
commit
3078778fc0
1 changed files with 10 additions and 0 deletions
|
@ -89,6 +89,16 @@ final class DifferentialTestPlanFieldSpecification
|
|||
return 'Test Plan';
|
||||
}
|
||||
|
||||
public function getSupportedCommitMessageLabels() {
|
||||
return array(
|
||||
'Test Plan',
|
||||
'Testplan',
|
||||
'Tested',
|
||||
'Tests',
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
public function renderValueForCommitMessage($is_edit) {
|
||||
return $this->plan;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue