[wp-trac] [WordPress Trac] #32635: Theme unit tests fail if a child theme is present
WordPress Trac
noreply at wordpress.org
Sat Jun 13 15:30:33 UTC 2015
#32635: Theme unit tests fail if a child theme is present
------------------------------+-----------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords: needs-testing
Focuses: |
------------------------------+-----------------------------
If you place a child theme into your theme directory, the
`Tests_Theme::test_switch_theme()` test will fail.
{{{
1) Tests_Theme::test_switch_theme
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'My Child Theme'
+'Twenty Fifteen'
~/tests/phpunit/tests/theme.php:224
}}}
Needs investigating.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32635>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list