From 3c0568b936047cadea2f7df707e4f6c5d43c67da Mon Sep 17 00:00:00 2001 From: Pavel Date: Mon, 17 Feb 2020 11:40:33 +0300 Subject: [PATCH] fixes for customer tests --- tests/test-wc-retailcrm-customers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-wc-retailcrm-customers.php b/tests/test-wc-retailcrm-customers.php index 2d17563..0b1ab89 100644 --- a/tests/test-wc-retailcrm-customers.php +++ b/tests/test-wc-retailcrm-customers.php @@ -81,7 +81,7 @@ class WC_Retailcrm_Customers_Test extends WC_Retailcrm_Test_Case_Helper public function test_create_customer($retailcrm) { $retailcrm_customer = $this->getRetailcrmCustomer($retailcrm); - $id = $retailcrm_customer->createRegularCustomer($this->customer->get_id()); + $id = $retailcrm_customer->createCustomer($this->customer->get_id()); $customer_send = $retailcrm_customer->getCustomer(); if ($retailcrm) { @@ -104,7 +104,7 @@ class WC_Retailcrm_Customers_Test extends WC_Retailcrm_Test_Case_Helper public function test_update_customer($retailcrm) { $retailcrm_customer = $this->getRetailcrmCustomer($retailcrm); - $customer = $retailcrm_customer->updateRegularCustomer($this->customer->get_id()); + $customer = $retailcrm_customer->updateCustomer($this->customer->get_id()); $customer_send = $retailcrm_customer->getCustomer(); if ($retailcrm) {