Make WordPress Core


Ignore:
Timestamp:
09/12/2013 06:37:32 PM (11 years ago)
Author:
nacin
Message:

Use @expectedDeprecated. see #25282, [25408].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/ms.php

    r25402 r25409  
    99 */
    1010class Tests_MS extends WP_UnitTestCase {
    11     protected $deprecated_functions = array( 'is_blog_user', 'get_dashboard_blog' );
    1211    protected $plugin_hook_count = 0;
    1312
     
    138137    }
    139138
     139    /**
     140     * @expectedDeprecated is_blog_user
     141     */
    140142    function test_is_blog_user() {
    141143        global $wpdb;
     
    264266    }
    265267
     268    /**
     269     * @expectedDeprecated get_dashboard_blog
     270     */
    266271    function test_get_dashboard_blog() {
    267272        // if there is no dashboard blog set, current blog is used
Note: See TracChangeset for help on using the changeset viewer.