From f5c5325ae8583d6365f06a66a81e145b043aa6ee Mon Sep 17 00:00:00 2001 From: Benjamin Pick Date: Wed, 10 Jan 2018 14:01:01 +0100 Subject: [PATCH] Fixing tests ... --- tests/PayPal/Test/Api/ItemListTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PayPal/Test/Api/ItemListTest.php b/tests/PayPal/Test/Api/ItemListTest.php index 399cb7f..ebf4b3a 100644 --- a/tests/PayPal/Test/Api/ItemListTest.php +++ b/tests/PayPal/Test/Api/ItemListTest.php @@ -53,7 +53,7 @@ class ItemListTest extends TestCase */ 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->getShippingMethod(), "TestSample"); $this->assertEquals($obj->getShippingPhoneNumber(), "TestSample");