Changeset 49344 for trunk/tests/phpunit/tests/post/formats.php
- Timestamp:
- 10/27/2020 07:58:10 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/formats.php
r48937 r49344 7 7 function setUp() { 8 8 parent::setUp(); 9 } 10 11 /** 12 * @ticket 51390 13 */ 14 function test_post_format_doing_it_wrong() { 15 $this->setExpectedIncorrectUsage( "add_theme_support( 'post-formats' )" ); 16 17 // The second parameter should be an array. 18 $this->assertFalse( add_theme_support( 'post-formats' ) ); 9 19 } 10 20
Note: See TracChangeset
for help on using the changeset viewer.