Changeset 253 in tests
- Timestamp:
- 10/22/2009 08:05:12 PM (14 years ago)
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-testcase/test_includes_theme.php
r248 r253 304 304 $this->assertEquals($expected, $theme_names); 305 305 } 306 307 function test_broken_themes() { 308 global $wp_broken_themes; 309 $themes = get_themes(); 310 $expected = array('broken-theme' => array('Name' => 'broken-theme', 'Title' => 'broken-theme', 'Description' => __('Stylesheet is missing.'))); 311 312 $this->assertEquals($expected, $wp_broken_themes); 313 } 306 314 } 307 315
Note: See TracChangeset
for help on using the changeset viewer.