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:
parent
086d49daec
commit
7fe6d71d36
@ -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' ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user