Changeset 904 in tests for trunk/tests/user.php
- Timestamp:
- 07/18/2012 07:01:41 PM (12 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/user.php
r903 r904 5 5 * @group user 6 6 */ 7 class Test WPUser extends WP_UnitTestCase {7 class Tests_User_User extends WP_UnitTestCase { 8 8 9 9 protected $_deprecated_errors = array(); … … 506 506 $this->assertNull( get_post( $post_id ) ); 507 507 } 508 509 /** 510 * @ticket 13317 511 */ 512 function test_get_userdata() { 513 $this->assertFalse( get_userdata( 0 ) ); 514 $this->assertFalse( get_userdata( '0' ) ); 515 $this->assertFalse( get_userdata( 'string' ) ); 516 $this->assertFalse( get_userdata( array( 'array' ) ) ); 517 } 508 518 }
Note: See TracChangeset
for help on using the changeset viewer.