Ticket #21495: 21495.test.patch
| File 21495.test.patch, 562 bytes (added by ancawonka, 10 months ago) |
|---|
-
tests/user.php
266 266 $this->assertEquals( $user->user_login, $user5->user_login ); 267 267 } 268 268 269 /** 270 * @ticket 21495 271 */ 272 273 function test_wp_create_user_empty_password(){ 274 $user_id = wp_create_user( 'foobar', '', 'email@example48.com' ); 275 $this->assertInstanceOf( 'WP_Error', $user_id ); 276 277 } 278 269 279 function test_get() { 270 280 $user_id = $this->factory->user->create( array( 271 281 'role' => 'author',
