Skip to:
Content

BuddyPress.org


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

File:
1 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(
Note: See TracChangeset for help on using the changeset viewer.