mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Fixed user test
This commit is contained in:
parent
6618e88a9a
commit
4a8a98a7d3
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue