Switched continent_code to code

This commit is contained in:
Gregory Oschwald
2013-05-21 13:28:37 -07:00
parent 559e62a30c
commit 89f1bbdb65
5 changed files with 20 additions and 21 deletions
+5 -5
View File
@@ -13,9 +13,9 @@ class ClientTest extends \PHPUnit_Framework_TestCase
private $country
= array(
'continent' => array(
'continent_code' => 'NA',
'geoname_id' => 42,
'names' => array( 'en' => 'North America' ),
'code' => 'NA',
'geoname_id' => 42,
'names' => array( 'en' => 'North America' ),
),
'country' => array(
'geoname_id' => 1,
@@ -100,8 +100,8 @@ class ClientTest extends \PHPUnit_Framework_TestCase
$this->assertEquals(
'NA',
$country->continent->continentCode,
'continent continent_code is NA'
$country->continent->code,
'continent code is NA'
);
$this->assertEquals(