From 86a1d0310d1c0187aad2e294fe0feed201ae9490 Mon Sep 17 00:00:00 2001 From: SoldierOfHeart Date: Wed, 22 Jul 2020 10:52:04 +0300 Subject: [PATCH] code refactoring --- tests/test-wc-retailcrm-history.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-wc-retailcrm-history.php b/tests/test-wc-retailcrm-history.php index 2f856eb..ab00677 100644 --- a/tests/test-wc-retailcrm-history.php +++ b/tests/test-wc-retailcrm-history.php @@ -54,7 +54,7 @@ class WC_Retailcrm_History_Test extends WC_Retailcrm_Test_Case_Helper } $this->assertNotEmpty($order_added->get_date_created()); - $this->assertEquals($order_added->get_date_created()->date('Y-m-d H:i:s'),$order['history'][0]['createdAt']); + $this->assertEquals($order_added->get_date_created()->date('Y-m-d H:i:s'), $order['history'][0]['createdAt']); $this->assertNotEmpty($shipping_address['first_name']); $this->assertNotEmpty($shipping_address['last_name']); $this->assertNotEmpty($shipping_address['postcode']);