[buddypress-trac] [BuddyPress Trac] #7243: Add PHPUnit factory for friendships

buddypress-trac noreply at wordpress.org
Fri Sep 2 22:17:29 UTC 2016


#7243: Add PHPUnit factory for friendships
------------------------------+-----------------------------
 Reporter:  jdgrimes          |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  has-patch
------------------------------+-----------------------------
 There are factories for most other objects, but not for friendships.
 Admittedly, friendships don't really have a lot of fields, which may be
 why no factory has been introduced for them. Still it is useful to have
 one when you just want a friendship object and don't want to have to
 create two users and manually construct it. Anyway, I expected there to be
 a factory for them, and there wasn't, so I figured its worth adding one
 for parity.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7243>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list