Page MenuHomePhabricator

D10202.diff
No OneTemporary

D10202.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
Sat, Oct 26, 10:53 AM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6719064
Default Alt Text
D10202.diff (877 B)

Event Timeline