Page MenuHomePhorge

D25385.1734770560.diff
No OneTemporary

D25385.1734770560.diff

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

Mime Type
text/plain
Expires
Sat, Dec 21, 08:42 (1 h, 5 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1017250
Default Alt Text
D25385.1734770560.diff (2 KB)

Event Timeline