Changeset 616 in tests
- Timestamp:
- 04/05/2012 08:57:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-testcase/test_includes_theme.php
r615 r616 15 15 $themes = wp_get_themes(); 16 16 $this->assertInstanceOf( 'WP_Theme', $themes[ $this->theme_slug ] ); 17 $this->assertEquals( $themes[ $this->theme_slug ], wp_get_theme( $this->theme_slug ) );18 17 $this->assertEquals( $this->theme_name, $themes[ $this->theme_slug ]->get('Name') ); 18 19 $single_theme = wp_get_theme( $this->theme_slug ); 20 $this->assertEquals( $single_theme->get('Name'), $themes[ $this->theme_slug ]->get('Name') ); 21 $this->assertEquals( $themes[ $this->theme_slug ], $single_theme ); 19 22 } 20 23
Note: See TracChangeset
for help on using the changeset viewer.