mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Make sure permastruct is set in comments_template() tests.
After [34735]. git-svn-id: https://develop.svn.wordpress.org/trunk@34741 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -6,6 +6,14 @@
|
||||
* Testing items that are only testable by grabbing the markup of `comments_template()` from the output buffer.
|
||||
*/
|
||||
class Tests_Comment_CommentsTemplate extends WP_UnitTestCase {
|
||||
public function setUp() {
|
||||
parent::setUp();
|
||||
|
||||
global $wp_rewrite;
|
||||
$wp_rewrite->set_permalink_structure( '' );
|
||||
flush_rewrite_rules();
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 8071
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user