Skip to:
Content

BuddyPress.org

Changeset 8496


Ignore:
Timestamp:
06/10/2014 01:41:29 PM (12 years ago)
Author:
boonebgorges
Message:

Add expectedDeprecated like_escape flags for relevant unit tests

This will allow our CI builds to pass against WP trunk, until a more permanent
solution is found for #5701.

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

Legend:

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

    r8491 r8496  
    146146        /**
    147147         * @group get
     148         * @expectedDeprecated like_escape
    148149         */
    149150        public function test_get_with_search_terms() {
  • trunk/tests/phpunit/testcases/friends/class-bp-friends-friendship.php

    r7664 r8496  
    1919        }
    2020
     21        /**
     22         * @expectedDeprecated like_escape
     23         */
    2124        public function test_search_friends() {
    2225                $u1 = $this->create_user();
    … …  
    5053        }
    5154
     55        /**
     56         * @expectedDeprecated like_escape
     57         */
    5258        public function test_search_users() {
    5359                $u1 = $this->create_user();
    … …  
    6470        }
    6571
     72        /**
     73         * @expectedDeprecated like_escape
     74         */
    6675        public function test_search_users_count() {
    6776                $u1 = $this->create_user();
  • trunk/tests/phpunit/testcases/groups/class-bp-groups-group.php

    r7956 r8496  
    137137        /**
    138138         * @group get
     139         * @expectedDeprecated like_escape
    139140         */
    140141        public function test_get_normal_search() {
    … …  
    155156        /**
    156157         * @group get
     158         * @expectedDeprecated like_escape
    157159         */
    158160        public function test_get_search_with_underscores() {
    … …  
    173175        /**
    174176         * @group get
     177         * @expectedDeprecated like_escape
    175178         */
    176179        public function test_get_search_with_percent_sign() {
    … …  
    191194        /**
    192195         * @group get
     196         * @expectedDeprecated like_escape
    193197         */
    194198        public function test_get_search_with_quotes() {
    … …  
    457461        }
    458462
     463        /**
     464         * @expectedDeprecated like_escape
     465         */
    459466        public function test_filter_user_groups_normal_search() {
    460467                $g1 = $this->factory->group->create( array(
    … …  
    472479        }
    473480
     481        /**
     482         * @expectedDeprecated like_escape
     483         */
    474484        public function test_filter_user_groups_search_with_underscores() {
    475485                $g1 = $this->factory->group->create( array(
    … …  
    489499        }
    490500
     501        /**
     502         * @expectedDeprecated like_escape
     503         */
    491504        public function test_filter_user_groups_search_with_percent_sign() {
    492505                $g1 = $this->factory->group->create( array(
    … …  
    506519        }
    507520
     521        /**
     522         * @expectedDeprecated like_escape
     523         */
    508524        public function test_filter_user_groups_search_with_quotes() {
    509525                $g1 = $this->factory->group->create( array(
    … …  
    525541        }
    526542
     543        /**
     544         * @expectedDeprecated like_escape
     545         */
    527546        public function test_search_groups_normal_search() {
    528547                $g1 = $this->factory->group->create( array(
    … …  
    538557        }
    539558
     559        /**
     560         * @expectedDeprecated like_escape
     561         */
    540562        public function test_search_groups_search_with_underscores() {
    541563                $g1 = $this->factory->group->create( array(
    … …  
    551573        }
    552574
     575        /**
     576         * @expectedDeprecated like_escape
     577         */
    553578        public function test_search_groups_search_with_percent_sign() {
    554579                $g1 = $this->factory->group->create( array(
    … …  
    564589        }
    565590
     591        /**
     592         * @expectedDeprecated like_escape
     593         */
    566594        public function test_search_groups_search_with_quotes() {
    567595                $g1 = $this->factory->group->create( array(
    … …  
    578606        }
    579607
     608        /**
     609         * @expectedDeprecated like_escape
     610         */
    580611        public function test_get_by_letter_with_exclude() {
    581612                $g1 = $this->factory->group->create( array(
    … …  
    596627        }
    597628
     629        /**
     630         * @expectedDeprecated like_escape
     631         */
    598632        public function test_get_by_letter_starts_with_apostrophe() {
    599633                $g1 = $this->factory->group->create( array(
    … …  
    627661        }
    628662
     663        /**
     664         * @expectedDeprecated like_escape
     665         */
    629666        public function test_get_random_with_search_terms() {
    630667                $g1 = $this->factory->group->create( array(
  • trunk/tests/phpunit/testcases/groups/class-bp-groups-member.php

    r7491 r8496  
    2626        }
    2727
     28        /**
     29         * @expectedDeprecated like_escape
     30         */
    2831        public function test_get_recently_joined_with_filter() {
    2932                $g1 = $this->factory->group->create( array(
    … …  
    4447        }
    4548
     49        /**
     50         * @expectedDeprecated like_escape
     51         */
    4652        public function test_get_is_admin_of_with_filter() {
    4753                $g1 = $this->factory->group->create( array(
    … …  
    6773        }
    6874
     75        /**
     76         * @expectedDeprecated like_escape
     77         */
    6978        public function test_get_is_mod_of_with_filter() {
    7079                $g1 = $this->factory->group->create( array(
  • trunk/tests/phpunit/testcases/members/class-bp-signup.php

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