diff --git a/tests/datasets/data-cart-retailcrm.php b/tests/datasets/data-cart-retailcrm.php index c972c99..21470e9 100644 --- a/tests/datasets/data-cart-retailcrm.php +++ b/tests/datasets/data-cart-retailcrm.php @@ -36,7 +36,7 @@ class DataCartRetailCrm 'externalId' => '1', 'name' => 'test product', 'properties' => [ - 'prop1' => 'prop' + 'prop1' => 'prop', ], 'unit' => [ 'code' => 'test code', @@ -99,4 +99,4 @@ class DataCartRetailCrm ]; } -} \ No newline at end of file +} diff --git a/tests/test-wc-retailcrm-cart.php b/tests/test-wc-retailcrm-cart.php index 74b4d2a..3648436 100644 --- a/tests/test-wc-retailcrm-cart.php +++ b/tests/test-wc-retailcrm-cart.php @@ -56,8 +56,8 @@ class WC_Retailcrm_Cart_Test extends WC_Retailcrm_Test_Case_Helper $response = $this->apiClientMock->cartGet(1, 'test-site'); $this->assertNotEmpty($response->__get('cart')); $this->assertTrue($response->__get('success')); - } + public function testSetCart() { $response = $this->apiClientMock->cartSet(DataCartRetailCrm::dataSetCart(), 'test-site');