Skip to:
Content

BuddyPress.org

Timestamp:
08/30/2016 03:44:33 PM (10 years ago)
Author:
boonebgorges
Message:

Tests: Fix message factory create/get methods.

Previously, message creation was failing because no 'sender_id' or
'recipients' were set. We now create senders and recipients when none
are passed to the create() method.

This changeset also fixes the return value of create_object(), so that
create_and_get() works for messages.

Props jdgrimes.
Fixes #7234.

Location:
trunk/tests/phpunit/testcases/testsuite
Files:
2 added

Note: See TracChangeset for help on using the changeset viewer.