Changeset 26858
- Timestamp:
- 12/12/2013 12:36:27 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme.php
r25409 r26858 9 9 protected $theme_slug = 'twentyeleven'; 10 10 protected $theme_name = 'Twenty Eleven'; 11 protected $default_themes = array( 'twentyten', 'twentyeleven', 'twentytwelve', 'twentythirteen', 'twentyfourteen' ); 11 12 12 13 function setUp() { … … 162 163 } 163 164 165 function test_default_themes_have_textdomain() { 166 $this->assertContains( WP_DEFAULT_THEME, $this->default_themes ); 167 foreach ( $this->default_themes as $theme ) { 168 $this->assertEquals( $theme, wp_get_theme( $theme )->get( 'TextDomain' ) ); 169 } 170 } 171 164 172 /** 165 173 * @ticket 20897
Note: See TracChangeset
for help on using the changeset viewer.