Page MenuHomePhabricator

D13577.id32814.diff
No OneTemporary

D13577.id32814.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, Aug 16, 6:10 AM (3 h, 3 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8584996
Default Alt Text
D13577.id32814.diff (1 KB)

Event Timeline