mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +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' => [
|
||||
'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' => [
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user