1
0
Fork 0
mirror of synced 2025-04-06 07:13:33 +03:00

code refactoring

This commit is contained in:
SoldierOfHeart 2020-07-22 10:52:04 +03:00
parent d7c1a9e6db
commit 86a1d0310d

View file

@ -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']);