Fixed user test

This commit is contained in:
snipe 2020-11-09 14:17:45 -08:00
parent 6618e88a9a
commit 4a8a98a7d3

View file

@ -104,7 +104,7 @@ class UserTest extends BaseTest
{ {
$fullname = "Natalia Allanovna Romanova-O'Shostakova"; $fullname = "Natalia Allanovna Romanova-O'Shostakova";
$expected_username = 'nataliaallanovnaromanovaoshostakova'; $expected_username = 'nataliaallanovnaromanovaoshostakova';
$user = User::generateFormattedNameFromFullName($fullname, 'firstnamelastname)'; $user = User::generateFormattedNameFromFullName($fullname, 'firstnamelastname');
$this->assertEquals($expected_username, $user['username']); $this->assertEquals($expected_username, $user['username']);
} }
public function firstNameLastInitial() public function firstNameLastInitial()