- Timestamp:
- 08/22/2021 03:16:06 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/friends/class-bp-friends-friendship.php
r11737 r13086 5 5 */ 6 6 class BP_Tests_BP_Friends_Friendship_TestCases extends BP_UnitTestCase { 7 8 /** __construct() ***************************************************/ 9 10 /** 11 * @group __construct 12 */ 13 public function test_non_existent_friendship() { 14 $friendship = new BP_Friends_Friendship( 123456789 ); 15 $this->assertSame( 0, $friendship->id ); 16 } 17 18 /** 19 * @group __construct 20 * @expectedDeprecated BP_Friends_Friendship::__construct 21 */ 22 public function test_deprecated_arg() { 23 $friendship = new BP_Friends_Friendship( 123456789, true ); 24 $this->assertSame( 0, $friendship->id ); 25 } 26 7 27 public function test_search_friends() { 8 28 $u1 = self::factory()->user->create();
Note: See TracChangeset
for help on using the changeset viewer.