Page MenuHomePhabricator

D13577.id.diff
No OneTemporary

D13577.id.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
@@ -947,6 +947,7 @@
'HeraldEffect' => 'applications/herald/engine/HeraldEffect.php',
'HeraldEngine' => 'applications/herald/engine/HeraldEngine.php',
'HeraldField' => 'applications/herald/field/HeraldField.php',
+ 'HeraldFieldTestCase' => 'applications/herald/field/__tests__/HeraldFieldTestCase.php',
'HeraldInvalidActionException' => 'applications/herald/engine/exception/HeraldInvalidActionException.php',
'HeraldInvalidConditionException' => 'applications/herald/engine/exception/HeraldInvalidConditionException.php',
'HeraldManageGlobalRulesCapability' => 'applications/herald/capability/HeraldManageGlobalRulesCapability.php',
@@ -4468,6 +4469,7 @@
'HeraldEffect' => 'Phobject',
'HeraldEngine' => 'Phobject',
'HeraldField' => 'Phobject',
+ 'HeraldFieldTestCase' => 'PhutilTestCase',
'HeraldInvalidActionException' => 'Exception',
'HeraldInvalidConditionException' => 'Exception',
'HeraldManageGlobalRulesCapability' => 'PhabricatorPolicyCapability',
diff --git a/src/applications/herald/field/__tests__/HeraldFieldTestCase.php b/src/applications/herald/field/__tests__/HeraldFieldTestCase.php
new file mode 100644
--- /dev/null
+++ b/src/applications/herald/field/__tests__/HeraldFieldTestCase.php
@@ -0,0 +1,10 @@
+<?php
+
+final class HeraldFieldTestCase extends PhutilTestCase {
+
+ public function testGetAllFields() {
+ HeraldField::getAllFields();
+ $this->assertTrue(true);
+ }
+
+}

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 12, 10:18 AM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7703465
Default Alt Text
D13577.id.diff (1 KB)

Event Timeline