mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Users: Don't typo assertTrue() in a the uppercase letters validate_username() test.
See #24618. git-svn-id: https://develop.svn.wordpress.org/trunk@34859 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -614,7 +614,7 @@ class Tests_User extends WP_UnitTestCase {
|
||||
if ( is_multisite() ) {
|
||||
$this->assertFalse( validate_username( 'JohnDoe' ) );
|
||||
} else {
|
||||
$this->assertTue( validate_username( 'JohnDoe' ) );
|
||||
$this->assertTrue( validate_username( 'JohnDoe' ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user