[buddypress-trac] [BuddyPress Trac] #6009: Share fixtures across unit tests where appropriate
buddypress-trac
noreply at wordpress.org
Fri Nov 14 14:01:27 UTC 2014
#6009: Share fixtures across unit tests where appropriate
--------------------------+------------------
Reporter: boonebgorges | Owner:
Type: task | Status: new
Priority: normal | Milestone: 2.2
Component: Unit Tests | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------
Comment (by boonebgorges):
In [changeset:"9141"]:
{{{
#!CommitTicketReference repository="" revision="9141"
Make `BP_UnitTestCase::set_current_user()` a static method.
This allows it to be called from outside of an object context.
See #6009.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6009#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list