mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 05:20:56 +01:00
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
This commit is contained in:
parent
9777a1b4d1
commit
66950a84b2
1 changed files with 2 additions and 0 deletions
|
@ -16,12 +16,14 @@ final class PhabricatorPolicyDataTestCase extends PhabricatorTestCase {
|
|||
->setAuthorPHID($author->getPHID())
|
||||
->setIcon(PhabricatorProject::DEFAULT_ICON)
|
||||
->setColor(PhabricatorProject::DEFAULT_COLOR)
|
||||
->setIsMembershipLocked(0)
|
||||
->save();
|
||||
$proj_b = id(new PhabricatorProject())
|
||||
->setName('B')
|
||||
->setAuthorPHID($author->getPHID())
|
||||
->setIcon(PhabricatorProject::DEFAULT_ICON)
|
||||
->setColor(PhabricatorProject::DEFAULT_COLOR)
|
||||
->setIsMembershipLocked(0)
|
||||
->save();
|
||||
|
||||
$proj_a->setViewPolicy($proj_b->getPHID())->save();
|
||||
|
|
Loading…
Reference in a new issue