@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.

Fix failing test in PhabricatorPolicyDataTestCase caused by membership locking

Summary: This fixes a unit test failure that started occurring due to the new membership locking feature.

Test Plan: Ran the unit tests.

Reviewers: btrahan, epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

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

+2
+2
src/applications/policy/__tests__/PhabricatorPolicyDataTestCase.php
··· 16 16 ->setAuthorPHID($author->getPHID()) 17 17 ->setIcon(PhabricatorProject::DEFAULT_ICON) 18 18 ->setColor(PhabricatorProject::DEFAULT_COLOR) 19 + ->setIsMembershipLocked(0) 19 20 ->save(); 20 21 $proj_b = id(new PhabricatorProject()) 21 22 ->setName('B') 22 23 ->setAuthorPHID($author->getPHID()) 23 24 ->setIcon(PhabricatorProject::DEFAULT_ICON) 24 25 ->setColor(PhabricatorProject::DEFAULT_COLOR) 26 + ->setIsMembershipLocked(0) 25 27 ->save(); 26 28 27 29 $proj_a->setViewPolicy($proj_b->getPHID())->save();