Skip to:
Content

BuddyPress.org

Changeset 7425


Ignore:
Timestamp:
10/14/2013 11:28:41 PM (11 years ago)
Author:
boonebgorges
Message:

Add @expectedDeprecated comments to specific tests

The develop.svn.wordpress.org setup requires these flags in order to prevent
tests from failing when calling a deprecated function.

Fixes #5201

Props ericlewis

Location:
trunk/tests/testcases
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/testcases/core/class-bp-core-user.php

    r7036 r7425  
    1515    }
    1616
     17    /**
     18     * @expectedDeprecated BP_Core_User::get_users
     19     */
    1720    public function test_get_users_with_exclude_querystring() {
    1821        $u1 = $this->create_user();
     
    2831    }
    2932
     33    /**
     34     * @expectedDeprecated BP_Core_User::get_users
     35     */
    3036    public function test_get_users_with_exclude_array() {
    3137        $u1 = $this->create_user();
     
    4551    }
    4652
     53    /**
     54     * @expectedDeprecated BP_Core_User::get_users
     55     */
    4756    public function test_get_users_with_include_querystring() {
    4857        $u1 = $this->create_user( array(
     
    6473    }
    6574
     75    /**
     76     * @expectedDeprecated BP_Core_User::get_users
     77     */
    6678    public function test_get_users_with_include_array() {
    6779        $u1 = $this->create_user( array(
  • trunk/tests/testcases/groups/class-bp-groups-member.php

    r7293 r7425  
    125125    }
    126126
     127    /**
     128     * @expectedDeprecated BP_Groups_Member::get_all_for_group
     129     */
    127130    public function test_get_all_for_group_with_exclude() {
    128131        $g1 = $this->factory->group->create();
Note: See TracChangeset for help on using the changeset viewer.