Changeset 42445 for branches/4.9/tests/phpunit/tests/user/author.php
- Timestamp:
- 01/15/2018 12:09:39 AM (8 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/user/author.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/tests/phpunit/tests/user/author.php
r41173 r42445 53 53 $this->assertEquals( 'test_author', get_the_author_meta( 'display_name' ) ); 54 54 55 $this->assertEquals( ' <p>test_author</p>', trim( get_the_author_meta( 'description' ) ) );55 $this->assertEquals( 'test_author', trim( get_the_author_meta( 'description' ) ) ); 56 56 $this->assertEquals( 'test_author', get_the_author_meta( 'user_description' ) ); 57 57 add_user_meta( self::$author_id, 'user_description', 'user description' ); … … 60 60 // See #20285 61 61 $this->assertEquals( 'test_author', get_the_author_meta( 'user_description' ) ); 62 $this->assertEquals( ' <p>test_author</p>', trim( get_the_author_meta( 'description' ) ) );62 $this->assertEquals( 'test_author', trim( get_the_author_meta( 'description' ) ) ); 63 63 update_user_meta( self::$author_id, 'user_description', '' ); 64 64 $this->assertEquals( '', get_user_meta( self::$author_id, 'user_description', true ) ); 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 68 68 $this->assertEquals( '', get_the_author_meta( 'does_not_exist' ) );
Note: See TracChangeset
for help on using the changeset viewer.