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

Commit

Permalink
Make sure we never use a country with name AND code as null (#768)
Browse files Browse the repository at this point in the history
* Make sure we never use a country with name AND code as null

* cs

* Bugfixes

* Make sure one cannot create a country without data
  • Loading branch information
Nyholm committed Sep 16, 2017
1 parent c01c5d5 commit 01aec95
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Tests/GeoIPsTest.php
Expand Up @@ -127,8 +127,7 @@ public function testGeocodeWithRealIPv4GetsFakeContentFormattedEmpty()
$this->assertNull($result->getPostalCode());
$this->assertNull($result->getLocality());
$this->assertEmpty($result->getAdminLevels());
$this->assertNull($result->getCountry()->getName());
$this->assertNull($result->getCountry()->getCode());
$this->assertNull($result->getCountry());
$this->assertNull($result->getTimezone());
}

Expand Down

0 comments on commit 01aec95

Please sign in to comment.