Changeset 39919 for trunk/tests/phpunit/tests/theme/support.php
- Timestamp:
- 01/17/2017 03:39:36 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/theme/support.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme/support.php
r37313 r39919 91 91 $this->assertFalse( current_theme_supports( 'html5' ) ); 92 92 $this->assertFalse( current_theme_supports( 'html5', 'comment-form' ) ); 93 $this->assertNot Same( false,add_theme_support( 'html5' ) );93 $this->assertNotFalse( add_theme_support( 'html5' ) ); 94 94 $this->assertTrue( current_theme_supports( 'html5' ) ); 95 95 $this->assertTrue( current_theme_supports( 'html5', 'comment-form' ) ); … … 109 109 $this->assertFalse( current_theme_supports( 'html5', 'comment-form' ) ); 110 110 $this->assertFalse( add_theme_support( 'html5', 'comment-form' ) ); 111 $this->assertNot Same( false,add_theme_support( 'html5', array( 'comment-form' ) ) );111 $this->assertNotFalse( add_theme_support( 'html5', array( 'comment-form' ) ) ); 112 112 $this->assertTrue( current_theme_supports( 'html5', 'comment-form' ) ); 113 113 … … 118 118 // It appends, rather than replaces. 119 119 $this->assertFalse( current_theme_supports( 'html5', 'comment-list' ) ); 120 $this->assertNot Same( false,add_theme_support( 'html5', array( 'comment-list' ) ) );120 $this->assertNotFalse( add_theme_support( 'html5', array( 'comment-list' ) ) ); 121 121 $this->assertTrue( current_theme_supports( 'html5', 'comment-form' ) ); 122 122 $this->assertTrue( current_theme_supports( 'html5', 'comment-list' ) );
Note: See TracChangeset
for help on using the changeset viewer.