Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2693864
D25385.1734770559.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
2 KB
Referenced Files
None
Subscribers
None
D25385.1734770559.diff
View Options
diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -714,7 +714,6 @@
'DifferentialTabReplacementTestCase' => 'applications/differential/parser/__tests__/DifferentialTabReplacementTestCase.php',
'DifferentialTagsCommitMessageField' => 'applications/differential/field/DifferentialTagsCommitMessageField.php',
'DifferentialTasksCommitMessageField' => 'applications/differential/field/DifferentialTasksCommitMessageField.php',
- 'DifferentialTestCommitMessageField' => 'applications/differential/field/DifferentialTestCommitMessageField.php',
'DifferentialTestPlanCommitMessageField' => 'applications/differential/field/DifferentialTestPlanCommitMessageField.php',
'DifferentialTestPlanField' => 'applications/differential/customfield/DifferentialTestPlanField.php',
'DifferentialTitleCommitMessageField' => 'applications/differential/field/DifferentialTitleCommitMessageField.php',
@@ -6761,7 +6760,6 @@
'DifferentialTabReplacementTestCase' => 'PhabricatorTestCase',
'DifferentialTagsCommitMessageField' => 'DifferentialCommitMessageField',
'DifferentialTasksCommitMessageField' => 'DifferentialCommitMessageField',
- 'DifferentialTestCommitMessageField' => 'DifferentialCommitMessageField',
'DifferentialTestPlanCommitMessageField' => 'DifferentialCommitMessageField',
'DifferentialTestPlanField' => 'DifferentialCoreCustomField',
'DifferentialTitleCommitMessageField' => 'DifferentialCommitMessageField',
diff --git a/src/applications/differential/field/DifferentialTestCommitMessageField.php b/src/applications/differential/field/DifferentialTestCommitMessageField.php
deleted file mode 100644
--- a/src/applications/differential/field/DifferentialTestCommitMessageField.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-/**
- * This class should only be used for unit tests
- */
-final class DifferentialTestCommitMessageField
- extends DifferentialCommitMessageField {
- public function getFieldName() { return 'Test'; }
- public function getFieldOrder() { return 1; }
-}
diff --git a/src/applications/differential/field/__tests__/DifferentialCommitMessageFieldTestCase.php b/src/applications/differential/field/__tests__/DifferentialCommitMessageFieldTestCase.php
--- a/src/applications/differential/field/__tests__/DifferentialCommitMessageFieldTestCase.php
+++ b/src/applications/differential/field/__tests__/DifferentialCommitMessageFieldTestCase.php
@@ -29,7 +29,7 @@
}
public function testRenderFieldValue() {
- $test_object = new DifferentialTestCommitMessageField();
+ $test_object = new DifferentialRevertPlanCommitMessageField();
$this->assertEqual('foo', $test_object->renderFieldValue('foo'),
'Normal strings should be rendered unaltered');
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 08:42 (33 m, 12 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1017250
Default Alt Text
D25385.1734770559.diff (2 KB)
Attached To
Mode
D25385: Replace dedicated Commit Field with an existing one
Attached
Detach File
Event Timeline
Log In to Comment