Skip to:
Content

BuddyPress.org

Changeset 8499


Ignore:
Timestamp:
06/10/2014 02:33:56 PM (11 years ago)
Author:
boonebgorges
Message:

Remove @expectedDeprecated like_escape flags from unit tests

This was intended to be a workaround for #5701, but it turns out that it breaks
non-trunk builds.

Reverts r8496 and r8497.

See #5701

Location:
trunk/tests/phpunit/testcases
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/activity/class.BP_Activity_Activity.php

    r8496 r8499  
    146146    /**
    147147     * @group get
    148      * @expectedDeprecated like_escape
    149148     */
    150149    public function test_get_with_search_terms() {
  • trunk/tests/phpunit/testcases/blogs/class-bp-blogs-blog.php

    r8497 r8499  
    1313    }
    1414
    15     /**
    16      * @expectedDeprecated like_escape
    17      */
    1815    public function test_get_with_search_terms() {
    1916        if ( ! is_multisite() ) {
     
    4239    }
    4340
    44     /**
    45      * @expectedDeprecated like_escape
    46      */
    4741    public function test_search_blogs() {
    4842        if ( ! is_multisite() ) {
  • trunk/tests/phpunit/testcases/friends/class-bp-friends-friendship.php

    r8496 r8499  
    1919    }
    2020
    21     /**
    22      * @expectedDeprecated like_escape
    23      */
    2421    public function test_search_friends() {
    2522        $u1 = $this->create_user();
     
    5350    }
    5451
    55     /**
    56      * @expectedDeprecated like_escape
    57      */
    5852    public function test_search_users() {
    5953        $u1 = $this->create_user();
     
    7064    }
    7165
    72     /**
    73      * @expectedDeprecated like_escape
    74      */
    7566    public function test_search_users_count() {
    7667        $u1 = $this->create_user();
  • trunk/tests/phpunit/testcases/groups/class-bp-groups-group.php

    r8496 r8499  
    137137    /**
    138138     * @group get
    139      * @expectedDeprecated like_escape
    140139     */
    141140    public function test_get_normal_search() {
     
    156155    /**
    157156     * @group get
    158      * @expectedDeprecated like_escape
    159157     */
    160158    public function test_get_search_with_underscores() {
     
    175173    /**
    176174     * @group get
    177      * @expectedDeprecated like_escape
    178175     */
    179176    public function test_get_search_with_percent_sign() {
     
    194191    /**
    195192     * @group get
    196      * @expectedDeprecated like_escape
    197193     */
    198194    public function test_get_search_with_quotes() {
     
    461457    }
    462458
    463     /**
    464      * @expectedDeprecated like_escape
    465      */
    466459    public function test_filter_user_groups_normal_search() {
    467460        $g1 = $this->factory->group->create( array(
     
    479472    }
    480473
    481     /**
    482      * @expectedDeprecated like_escape
    483      */
    484474    public function test_filter_user_groups_search_with_underscores() {
    485475        $g1 = $this->factory->group->create( array(
     
    499489    }
    500490
    501     /**
    502      * @expectedDeprecated like_escape
    503      */
    504491    public function test_filter_user_groups_search_with_percent_sign() {
    505492        $g1 = $this->factory->group->create( array(
     
    519506    }
    520507
    521     /**
    522      * @expectedDeprecated like_escape
    523      */
    524508    public function test_filter_user_groups_search_with_quotes() {
    525509        $g1 = $this->factory->group->create( array(
     
    541525    }
    542526
    543     /**
    544      * @expectedDeprecated like_escape
    545      */
    546527    public function test_search_groups_normal_search() {
    547528        $g1 = $this->factory->group->create( array(
     
    557538    }
    558539
    559     /**
    560      * @expectedDeprecated like_escape
    561      */
    562540    public function test_search_groups_search_with_underscores() {
    563541        $g1 = $this->factory->group->create( array(
     
    573551    }
    574552
    575     /**
    576      * @expectedDeprecated like_escape
    577      */
    578553    public function test_search_groups_search_with_percent_sign() {
    579554        $g1 = $this->factory->group->create( array(
     
    589564    }
    590565
    591     /**
    592      * @expectedDeprecated like_escape
    593      */
    594566    public function test_search_groups_search_with_quotes() {
    595567        $g1 = $this->factory->group->create( array(
     
    606578    }
    607579
    608     /**
    609      * @expectedDeprecated like_escape
    610      */
    611580    public function test_get_by_letter_with_exclude() {
    612581        $g1 = $this->factory->group->create( array(
     
    627596    }
    628597
    629     /**
    630      * @expectedDeprecated like_escape
    631      */
    632598    public function test_get_by_letter_starts_with_apostrophe() {
    633599        $g1 = $this->factory->group->create( array(
     
    661627    }
    662628
    663     /**
    664      * @expectedDeprecated like_escape
    665      */
    666629    public function test_get_random_with_search_terms() {
    667630        $g1 = $this->factory->group->create( array(
  • trunk/tests/phpunit/testcases/groups/class-bp-groups-member.php

    r8496 r8499  
    2626    }
    2727
    28     /**
    29      * @expectedDeprecated like_escape
    30      */
    3128    public function test_get_recently_joined_with_filter() {
    3229        $g1 = $this->factory->group->create( array(
     
    4744    }
    4845
    49     /**
    50      * @expectedDeprecated like_escape
    51      */
    5246    public function test_get_is_admin_of_with_filter() {
    5347        $g1 = $this->factory->group->create( array(
     
    7367    }
    7468
    75     /**
    76      * @expectedDeprecated like_escape
    77      */
    7869    public function test_get_is_mod_of_with_filter() {
    7970        $g1 = $this->factory->group->create( array(
  • trunk/tests/phpunit/testcases/members/class-bp-signup.php

    r8496 r8499  
    9494    /**
    9595     * @group get
    96      * @expectedDeprecated like_escape
    9796     */
    9897    public function test_get_with_usersearch() {
Note: See TracChangeset for help on using the changeset viewer.