Make WordPress Core


Ignore:
Timestamp:
10/15/2015 05:50:40 AM (9 years ago)
Author:
wonderboymusic
Message:

Unit Tests: after [35186], "upgrade" the Canonical fixtures.

See #30017, #33968.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/canonical/noRewrite.php

    r30277 r35191  
    1111
    1212    // These test cases are run against the test handler in WP_Canonical
    13     public static function setUpBeforeClass() {
    14         self::generate_shared_fixtures();
     13    public static function wpSetUpBeforeClass( $factory ) {
     14        self::generate_shared_fixtures( $factory );
    1515    }
    1616
    17     public static function tearDownAfterClass() {
     17    public static function wpTearDownAfterClass() {
    1818        self::delete_shared_fixtures();
    1919    }
     
    2727        $wp_rewrite->set_permalink_structure( '' );
    2828        $wp_rewrite->flush_rules();
    29         $wp_rewrite->init();
    3029    }
    3130
Note: See TracChangeset for help on using the changeset viewer.