Changeset 11737 for trunk/tests/phpunit/testcases/messages/functions.php
- Timestamp:
- 11/03/2017 07:44:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/messages/functions.php
r10585 r11737 11 11 */ 12 12 public function test_get_unread_count() { 13 $u1 = $this->factory->user->create();14 $u2 = $this->factory->user->create();13 $u1 = self::factory()->user->create(); 14 $u2 = self::factory()->user->create(); 15 15 16 16 // send a private message … … 46 46 */ 47 47 public function test_messages_new_message_invalid_recipient_error_message() { 48 $u1 = $this->factory->user->create();48 $u1 = self::factory()->user->create(); 49 49 50 50 // attempt to send a private message to an invalid username … … 64 64 */ 65 65 public function test_messages_new_message_wp_error_generic() { 66 $u1 = $this->factory->user->create();67 $u2 = $this->factory->user->create();66 $u1 = self::factory()->user->create(); 67 $u2 = self::factory()->user->create(); 68 68 69 69 // Emulate a plugin disabling messages.
Note: See TracChangeset
for help on using the changeset viewer.