diff --git a/tests/phpunit/includes/testcase.php b/tests/phpunit/includes/testcase.php index 84e7390a6d..a468deb9d8 100644 --- a/tests/phpunit/includes/testcase.php +++ b/tests/phpunit/includes/testcase.php @@ -537,7 +537,6 @@ class WP_UnitTestCase extends PHPUnit_Framework_TestCase { 'is_author', 'is_category', 'is_comment_feed', - 'is_comments_popup', 'is_date', 'is_day', 'is_embed', diff --git a/tests/phpunit/tests/theme.php b/tests/phpunit/tests/theme.php index d196f4fe23..aeb6e3d469 100644 --- a/tests/phpunit/tests/theme.php +++ b/tests/phpunit/tests/theme.php @@ -272,12 +272,6 @@ class Tests_Theme extends WP_UnitTestCase { $this->assertEquals(get_single_template(), get_query_template('single')); $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')); // nb: this probably doesn't run because WP_INSTALLING is defined