Page MenuHomePhabricator

D10202.id24549.diff
No OneTemporary

D10202.id24549.diff

diff --git a/src/applications/maniphest/lipsum/PhabricatorManiphestTaskTestDataGenerator.php b/src/applications/maniphest/lipsum/PhabricatorManiphestTaskTestDataGenerator.php
--- a/src/applications/maniphest/lipsum/PhabricatorManiphestTaskTestDataGenerator.php
+++ b/src/applications/maniphest/lipsum/PhabricatorManiphestTaskTestDataGenerator.php
@@ -38,6 +38,16 @@
$transactions[] = $transaction;
}
+ $transactions[] = id(new ManiphestTransaction())
+ ->setTransactionType(PhabricatorTransactions::TYPE_EDGE)
+ ->setMetadataValue(
+ 'edge:type',
+ PhabricatorProjectObjectHasProjectEdgeType::EDGECONST)
+ ->setNewValue(
+ array(
+ '=' => array_fuse($this->getProjectPHIDs()),
+ ));
+
// Apply Transactions
$editor = id(new ManiphestTransactionEditor())
->setActor($author)

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 24, 2:04 PM (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6719064
Default Alt Text
D10202.id24549.diff (877 B)

Event Timeline