Opened 10 years ago
Closed 10 years ago
#7243 closed enhancement (fixed)
Add PHPUnit factory for friendships
| Reported by: | jdgrimes | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | Build/Test Tools | Version: | |
| Severity: | normal | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks, @jdgrimes!