Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13978275
D10202.id24601.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
877 B
Referenced Files
None
Subscribers
None
D10202.id24601.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Oct 19 2024, 10:26 PM (4 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6719064
Default Alt Text
D10202.id24601.diff (877 B)
Attached To
Mode
D10202: Updated PhabricatorManiphestTaskTestDataGenerator to assign projects to the generated tasks.
Attached
Detach File
Event Timeline
Log In to Comment