From ad338fb3d0413ba701292f2139329f8a95384b60 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 10 Dec 2015 03:15:44 +0000 Subject: [PATCH] Comments: Commit tests missed in [35848]. See #28617 git-svn-id: https://develop.svn.wordpress.org/trunk@35849 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/includes/testcase.php | 1 - tests/phpunit/tests/theme.php | 6 ------ 2 files changed, 7 deletions(-) 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