WordPress.org

Make WordPress Core

Changeset 35849


Ignore:
Timestamp:
12/10/2015 03:15:44 AM (5 years ago)
Author:
johnbillion
Message:

Comments: Commit tests missed in [35848].

See #28617

Location:
trunk/tests/phpunit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/testcase.php

    r35350 r35849  
    538538            'is_category',
    539539            'is_comment_feed',
    540             'is_comments_popup',
    541540            'is_date',
    542541            'is_day',
  • trunk/tests/phpunit/tests/theme.php

    r35738 r35849  
    273273                $this->assertEquals(get_attachment_template(), get_query_template('attachment'));
    274274
    275                 // this one doesn't behave like the others
    276                 if (get_query_template('comments-popup'))
    277                     $this->assertEquals(get_comments_popup_template(), get_query_template('comments-popup'));
    278                 else
    279                     $this->assertEquals(get_comments_popup_template(), ABSPATH.'wp-includes/theme-compat/comments-popup.php');
    280 
    281275                $this->assertEquals(get_tag_template(), get_query_template('tag'));
    282276
Note: See TracChangeset for help on using the changeset viewer.