Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Fix typo in test name
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Sep 3, 2014
1 parent 584a33b commit 4c3e635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Faker/Provider/sv_SE/PersonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ public function testPersonalIdentityNumberGeneratesLuhnCompliantNumbers()
$this->assertTrue(Luhn::isValid($pin));
}

public function testPersonalIdentityNumberGeneratesEvenValuesForMales()
public function testPersonalIdentityNumberGeneratesOddValuesForMales()
{
$pin = $this->faker->personalIdentityNumber(null, 'male');
$this->assertEquals(1, $pin{9} % 2);
}

public function testPersonalIdentityNumberGeneratesOddValuesForFemales()
public function testPersonalIdentityNumberGeneratesEvenValuesForFemales()
{
$pin = $this->faker->personalIdentityNumber(null, 'female');
$this->assertEquals(0, $pin{9} % 2);
Expand Down

0 comments on commit 4c3e635

Please sign in to comment.