Make WordPress Core


Ignore:
Timestamp:
10/01/2015 12:26:33 PM (9 years ago)
Author:
boonebgorges
Message:

Make sure permastruct is set in comments_template() tests.

After [34735].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/comment/commentsTemplate.php

    r34735 r34741  
    77 */
    88class Tests_Comment_CommentsTemplate extends WP_UnitTestCase {
     9    public function setUp() {
     10        parent::setUp();
     11
     12        global $wp_rewrite;
     13        $wp_rewrite->set_permalink_structure( '' );
     14        flush_rewrite_rules();
     15    }
     16
    917    /**
    1018     * @ticket 8071
Note: See TracChangeset for help on using the changeset viewer.