Comments: Commit tests missed in [35848].
See #28617 git-svn-id: https://develop.svn.wordpress.org/trunk@35849 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c4cf5124ca
commit
ad338fb3d0
@ -537,7 +537,6 @@ class WP_UnitTestCase extends PHPUnit_Framework_TestCase {
|
|||||||
'is_author',
|
'is_author',
|
||||||
'is_category',
|
'is_category',
|
||||||
'is_comment_feed',
|
'is_comment_feed',
|
||||||
'is_comments_popup',
|
|
||||||
'is_date',
|
'is_date',
|
||||||
'is_day',
|
'is_day',
|
||||||
'is_embed',
|
'is_embed',
|
||||||
|
@ -272,12 +272,6 @@ class Tests_Theme extends WP_UnitTestCase {
|
|||||||
$this->assertEquals(get_single_template(), get_query_template('single'));
|
$this->assertEquals(get_single_template(), get_query_template('single'));
|
||||||
$this->assertEquals(get_attachment_template(), get_query_template('attachment'));
|
$this->assertEquals(get_attachment_template(), get_query_template('attachment'));
|
||||||
|
|
||||||
// this one doesn't behave like the others
|
|
||||||
if (get_query_template('comments-popup'))
|
|
||||||
$this->assertEquals(get_comments_popup_template(), get_query_template('comments-popup'));
|
|
||||||
else
|
|
||||||
$this->assertEquals(get_comments_popup_template(), ABSPATH.'wp-includes/theme-compat/comments-popup.php');
|
|
||||||
|
|
||||||
$this->assertEquals(get_tag_template(), get_query_template('tag'));
|
$this->assertEquals(get_tag_template(), get_query_template('tag'));
|
||||||
|
|
||||||
// nb: this probably doesn't run because WP_INSTALLING is defined
|
// nb: this probably doesn't run because WP_INSTALLING is defined
|
||||||
|
Loading…
Reference in New Issue
Block a user