fix address/location test

This commit is contained in:
Dennis Eichhorn 2020-10-22 18:46:07 +02:00
parent 98a7ccbae8
commit 5fc7be78c1
2 changed files with 4 additions and 4 deletions

View File

@ -120,7 +120,7 @@ class AddressTest extends \PHPUnit\Framework\TestCase
'location' => [
'postal' => '',
'city' => '',
'country' => '',
'country' => 'US',
'address' => '',
'state' => '',
'geo' => [
@ -150,7 +150,7 @@ class AddressTest extends \PHPUnit\Framework\TestCase
'location' => [
'postal' => '',
'city' => '',
'country' => '',
'country' => 'US',
'address' => '',
'state' => '',
'geo' => [

View File

@ -56,7 +56,7 @@ class LocationTest extends \PHPUnit\Framework\TestCase
$expected = [
'postal' => '',
'city' => '',
'country' => '',
'country' => 'US',
'address' => '',
'state' => '',
'geo' => [
@ -67,7 +67,7 @@ class LocationTest extends \PHPUnit\Framework\TestCase
self::assertEquals('', $this->location->getPostal());
self::assertEquals('', $this->location->getCity());
self::assertEquals('', $this->location->getCountry());
self::assertEquals('US', $this->location->getCountry());
self::assertEquals('', $this->location->getAddress());
self::assertEquals('', $this->location->getState());
self::assertEquals(0, $this->location->getId());