Fixing tests ...

This commit is contained in:
Benjamin Pick
2018-01-10 14:01:01 +01:00
parent 1f1522436b
commit f5c5325ae8

View File

@@ -53,7 +53,7 @@ class ItemListTest extends TestCase
*/ */
public function testGetters($obj) public function testGetters($obj)
{ {
$this->assertEquals($obj->getItems(), [ItemTest::getObject()]); $this->assertEquals($obj->getItems(), array(ItemTest::getObject()));
$this->assertEquals($obj->getShippingAddress(), ShippingAddressTest::getObject()); $this->assertEquals($obj->getShippingAddress(), ShippingAddressTest::getObject());
$this->assertEquals($obj->getShippingMethod(), "TestSample"); $this->assertEquals($obj->getShippingMethod(), "TestSample");
$this->assertEquals($obj->getShippingPhoneNumber(), "TestSample"); $this->assertEquals($obj->getShippingPhoneNumber(), "TestSample");