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

Commit

Permalink
Added unit test for PR zendframework/zendframework#5892
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanDotPro committed Mar 4, 2014
1 parent b674451 commit 7f3fbbc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/Validator/PhoneNumberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3083,6 +3083,12 @@ public function testAllowPossibleSetterGetter()
$this->assertTrue($this->validator->allowPossible());
}

public function testSetCountryMethodIsCaseInsensitive()
{
$this->validator->setCountry('us');
$this->assertSame('US', $this->validator->getCountry());
}

public function testInvalidTypes()
{
$values = array(
Expand Down

0 comments on commit 7f3fbbc

Please sign in to comment.