Changeset 42441 for trunk/tests/phpunit/tests/user/author.php
- Timestamp:
- 01/13/2018 01:10:56 AM (8 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/user/author.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/author.php
r42343 r42441 57 57 $this->assertEquals( 'test_author', get_the_author_meta( 'display_name' ) ); 58 58 59 $this->assertEquals( ' <p>test_author</p>', trim( get_the_author_meta( 'description' ) ) );59 $this->assertEquals( 'test_author', trim( get_the_author_meta( 'description' ) ) ); 60 60 $this->assertEquals( 'test_author', get_the_author_meta( 'user_description' ) ); 61 61 add_user_meta( self::$author_id, 'user_description', 'user description' ); … … 64 64 // See #20285 65 65 $this->assertEquals( 'test_author', get_the_author_meta( 'user_description' ) ); 66 $this->assertEquals( ' <p>test_author</p>', trim( get_the_author_meta( 'description' ) ) );66 $this->assertEquals( 'test_author', trim( get_the_author_meta( 'description' ) ) ); 67 67 update_user_meta( self::$author_id, 'user_description', '' ); 68 68 $this->assertEquals( '', get_user_meta( self::$author_id, 'user_description', true ) ); 69 69 $this->assertEquals( 'test_author', get_the_author_meta( 'user_description' ) ); 70 $this->assertEquals( ' <p>test_author</p>', trim( get_the_author_meta( 'description' ) ) );70 $this->assertEquals( 'test_author', trim( get_the_author_meta( 'description' ) ) ); 71 71 72 72 $this->assertEquals( '', get_the_author_meta( 'does_not_exist' ) );
Note: See TracChangeset
for help on using the changeset viewer.