@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add a trivial test case for HeraldField

Summary: Adds a trivial test case to ensure that `HeraldField` subclasses are properly implemented.

Test Plan: `arc unit`

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D13577

+12
+2
src/__phutil_library_map__.php
··· 947 947 'HeraldEffect' => 'applications/herald/engine/HeraldEffect.php', 948 948 'HeraldEngine' => 'applications/herald/engine/HeraldEngine.php', 949 949 'HeraldField' => 'applications/herald/field/HeraldField.php', 950 + 'HeraldFieldTestCase' => 'applications/herald/field/__tests__/HeraldFieldTestCase.php', 950 951 'HeraldInvalidActionException' => 'applications/herald/engine/exception/HeraldInvalidActionException.php', 951 952 'HeraldInvalidConditionException' => 'applications/herald/engine/exception/HeraldInvalidConditionException.php', 952 953 'HeraldManageGlobalRulesCapability' => 'applications/herald/capability/HeraldManageGlobalRulesCapability.php', ··· 4468 4469 'HeraldEffect' => 'Phobject', 4469 4470 'HeraldEngine' => 'Phobject', 4470 4471 'HeraldField' => 'Phobject', 4472 + 'HeraldFieldTestCase' => 'PhutilTestCase', 4471 4473 'HeraldInvalidActionException' => 'Exception', 4472 4474 'HeraldInvalidConditionException' => 'Exception', 4473 4475 'HeraldManageGlobalRulesCapability' => 'PhabricatorPolicyCapability',
+10
src/applications/herald/field/__tests__/HeraldFieldTestCase.php
··· 1 + <?php 2 + 3 + final class HeraldFieldTestCase extends PhutilTestCase { 4 + 5 + public function testGetAllFields() { 6 + HeraldField::getAllFields(); 7 + $this->assertTrue(true); 8 + } 9 + 10 + }