[wp-trac] [WordPress Trac] #31389: Test coverage for get_page_template_slug()

WordPress Trac noreply at wordpress.org
Mon Feb 23 07:53:03 UTC 2015


#31389: Test coverage for get_page_template_slug()
-------------------------------+--------------------
 Reporter:  tyxla              |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  4.2
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:
-------------------------------+--------------------
Changes (by SergeyBiryukov):

 * component:  Build/Test Tools => Posts, Post Types
 * milestone:  Awaiting Review => 4.2


Comment:

 `assertEquals()` should list the expected result first:
 {{{
 $this->assertEquals( 'example.php', get_page_template_slug() );
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31389#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list