mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 03:50:54 +01:00
Fix PhabricatorPolicyDataTestCase
Summary: Fixes T5219. Test Plan: Ran `arc unit`. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Maniphest Tasks: T5219 Differential Revision: https://secure.phabricator.com/D9326
This commit is contained in:
parent
dd3dfde983
commit
b20142c0fe
1 changed files with 2 additions and 0 deletions
|
@ -14,10 +14,12 @@ final class PhabricatorPolicyDataTestCase extends PhabricatorTestCase {
|
|||
$proj_a = id(new PhabricatorProject())
|
||||
->setName('A')
|
||||
->setAuthorPHID($author->getPHID())
|
||||
->setIcon('fa-briefcase')
|
||||
->save();
|
||||
$proj_b = id(new PhabricatorProject())
|
||||
->setName('B')
|
||||
->setAuthorPHID($author->getPHID())
|
||||
->setIcon('fa-briefcase')
|
||||
->save();
|
||||
|
||||
$proj_a->setViewPolicy($proj_b->getPHID())->save();
|
||||
|
|
Loading…
Reference in a new issue