Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/05/2018 03:08:21 PM (7 years ago)
Author:
boonebgorges
Message:

Tests: Add deprecation notices for wpmu_new_blog and delete_blog hook usage.

See #7984.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/blogs/class-bp-blogs-blog.php

    r11737 r12243  
    66 */
    77class BP_Tests_BP_Blogs_Blog_TestCases extends BP_UnitTestCase {
     8    /**
     9     * @expectedDeprecated wpmu_new_blog
     10     */
    811    public function test_get_with_search_terms() {
    912        if ( ! is_multisite() ) {
     
    3235    /**
    3336     * @ticket BP5858
     37     * @expectedDeprecated wpmu_new_blog
    3438     */
    3539    public function test_get_with_search_terms_should_match_description() {
     
    6064    }
    6165
     66    /**
     67     * @expectedDeprecated wpmu_new_blog
     68     */
    6269    public function test_search_blogs() {
    6370        if ( ! is_multisite() ) {
     
    8794    /**
    8895     * @group get_by_letter
     96     * @expectedDeprecated wpmu_new_blog
    8997     */
    9098    public function test_get_by_letter() {
     
    115123    /**
    116124     * @group get_order_by
     125     * @expectedDeprecated wpmu_new_blog
    117126     */
    118127    public function test_get_order_by() {
Note: See TracChangeset for help on using the changeset viewer.