@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Updated PhabricatorManiphestTaskTestDataGenerator to assign projects to the generated tasks.

Summary: To assist with {T5245}, I have added projects back into the lipsum maniphest generator with the edge infrastructure.

Test Plan: Run the lipsum script for PhabricatorManiphestTaskTestDataGenerator and make sure it generates project data.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D10202

authored by

Caleb Anderson and committed by
epriestley
60fca1d7 0292793d

+10
+10
src/applications/maniphest/lipsum/PhabricatorManiphestTaskTestDataGenerator.php
··· 38 38 $transactions[] = $transaction; 39 39 } 40 40 41 + $transactions[] = id(new ManiphestTransaction()) 42 + ->setTransactionType(PhabricatorTransactions::TYPE_EDGE) 43 + ->setMetadataValue( 44 + 'edge:type', 45 + PhabricatorProjectObjectHasProjectEdgeType::EDGECONST) 46 + ->setNewValue( 47 + array( 48 + '=' => array_fuse($this->getProjectPHIDs()), 49 + )); 50 + 41 51 // Apply Transactions 42 52 $editor = id(new ManiphestTransactionEditor()) 43 53 ->setActor($author)