Opened 8 years ago
Closed 8 years ago
#7243 closed enhancement (fixed)
Add PHPUnit factory for friendships
Reported by: | jdgrimes | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch |
Cc: |
Description
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.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Thanks, @jdgrimes!