From 5fc7be78c146b54726768e17b59850e676e3da1c Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 22 Oct 2020 18:46:07 +0200 Subject: [PATCH] fix address/location test --- tests/Stdlib/Base/AddressTest.php | 4 ++-- tests/Stdlib/Base/LocationTest.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Stdlib/Base/AddressTest.php b/tests/Stdlib/Base/AddressTest.php index f0c8432fb..e3f2b9c8c 100644 --- a/tests/Stdlib/Base/AddressTest.php +++ b/tests/Stdlib/Base/AddressTest.php @@ -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' => [ diff --git a/tests/Stdlib/Base/LocationTest.php b/tests/Stdlib/Base/LocationTest.php index 64560e06e..35b19c1e4 100644 --- a/tests/Stdlib/Base/LocationTest.php +++ b/tests/Stdlib/Base/LocationTest.php @@ -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());