Changeset 55755 for trunk/tests/phpunit/tests/user/getTheAuthor.php
- Timestamp:
- 05/14/2023 05:56:26 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/getTheAuthor.php
r55754 r55755 46 46 $this->assertSame( 'Test Author', $author_name ); 47 47 } 48 49 /** 50 * @ticket 58157 51 */ 52 public function test_get_the_author_should_return_empty_string_if_authordata_is_not_set() { 53 unset( $GLOBALS['authordata'] ); 54 55 $this->assertSame( '', get_the_author() ); 56 } 48 57 }
Note: See TracChangeset
for help on using the changeset viewer.