Opened 9 years ago
Closed 9 years ago
#31389 closed enhancement (fixed)
Test coverage for get_page_template_slug()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 4.2 |
Component: | Posts, Post Types | Keywords: | has-patch |
Focuses: | Cc: |
Description
The get_page_template_slug()
function could use some unit tests that cover the possible cases.
Attachments (2)
Change History (6)
#2
@
9 years ago
- Component changed from Build/Test Tools to Posts, Post Types
- Milestone changed from Awaiting Review to 4.2
assertEquals()
should list the expected result first:
$this->assertEquals( 'example.php', get_page_template_slug() );
Note: See
TracTickets for help on using
tickets.
Add test coverage for
get_page_template_slug()