mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 14:58:42 +00:00
fix address/location test
This commit is contained in:
parent
98a7ccbae8
commit
5fc7be78c1
|
|
@ -120,7 +120,7 @@ class AddressTest extends \PHPUnit\Framework\TestCase
|
||||||
'location' => [
|
'location' => [
|
||||||
'postal' => '',
|
'postal' => '',
|
||||||
'city' => '',
|
'city' => '',
|
||||||
'country' => '',
|
'country' => 'US',
|
||||||
'address' => '',
|
'address' => '',
|
||||||
'state' => '',
|
'state' => '',
|
||||||
'geo' => [
|
'geo' => [
|
||||||
|
|
@ -150,7 +150,7 @@ class AddressTest extends \PHPUnit\Framework\TestCase
|
||||||
'location' => [
|
'location' => [
|
||||||
'postal' => '',
|
'postal' => '',
|
||||||
'city' => '',
|
'city' => '',
|
||||||
'country' => '',
|
'country' => 'US',
|
||||||
'address' => '',
|
'address' => '',
|
||||||
'state' => '',
|
'state' => '',
|
||||||
'geo' => [
|
'geo' => [
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ class LocationTest extends \PHPUnit\Framework\TestCase
|
||||||
$expected = [
|
$expected = [
|
||||||
'postal' => '',
|
'postal' => '',
|
||||||
'city' => '',
|
'city' => '',
|
||||||
'country' => '',
|
'country' => 'US',
|
||||||
'address' => '',
|
'address' => '',
|
||||||
'state' => '',
|
'state' => '',
|
||||||
'geo' => [
|
'geo' => [
|
||||||
|
|
@ -67,7 +67,7 @@ class LocationTest extends \PHPUnit\Framework\TestCase
|
||||||
|
|
||||||
self::assertEquals('', $this->location->getPostal());
|
self::assertEquals('', $this->location->getPostal());
|
||||||
self::assertEquals('', $this->location->getCity());
|
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->getAddress());
|
||||||
self::assertEquals('', $this->location->getState());
|
self::assertEquals('', $this->location->getState());
|
||||||
self::assertEquals(0, $this->location->getId());
|
self::assertEquals(0, $this->location->getId());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user