1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-04-19 23:12:01 +02:00

Fix: Failing test related to cyrillic a

This commit is contained in:
Andreas Möller 2020-10-23 12:03:33 +02:00
parent 0d27af551c
commit ad1743259f
No known key found for this signature in database
GPG Key ID: 9FB20A0BAF60E11F

View File

@ -22,12 +22,12 @@ class PersonTest extends TestCase
public function testLastNameFemale()
{
$this->assertEquals("a", substr($this->faker->lastName('female'), -1));
$this->assertEquals("а", substr($this->faker->lastName('female'), -2, 2));
}
public function testLastNameMale()
{
$this->assertNotEquals("a", substr($this->faker->lastName('male'), -1));
$this->assertNotEquals("а", substr($this->faker->lastName('male'), -2, 2));
}
public function testLastNameRandom()