Changeset 43790 for branches/5.0/tests/phpunit/tests/theme/support.php
- Timestamp:
- 10/22/2018 07:57:07 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/tests/phpunit/tests/theme/support.php
r39919 r43790 192 192 $this->assertFalse( current_theme_supports( 'menus' ) ); 193 193 } 194 195 /** 196 * @ticket 45125 197 */ 198 function test_responsive_embeds() { 199 add_theme_support( 'responsive-embeds' ); 200 $this->assertTrue( current_theme_supports( 'responsive-embeds' ) ); 201 remove_theme_support( 'responsive-embeds' ); 202 $this->assertFalse( current_theme_supports( 'responsive-embeds' ) ); 203 add_theme_support( 'responsive-embeds' ); 204 $this->assertTrue( current_theme_supports( 'responsive-embeds' ) ); 205 } 194 206 }
Note: See TracChangeset
for help on using the changeset viewer.