mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-04-21 16:01:56 +02:00
Add test for random lastName
This commit is contained in:
parent
5d77af55d5
commit
2919adc68d
@ -29,4 +29,9 @@ class PersonTest extends TestCase
|
||||
{
|
||||
$this->assertNotEquals("a", substr($this->faker->lastName('male'), -1));
|
||||
}
|
||||
|
||||
public function testLastNameRandom()
|
||||
{
|
||||
$this->assertNotNull($this->faker->lastName());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user