From 0b8c29909f004cff53da5e1e828a318729cec76d 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 182cd86..35c82c3 100644 --- a/tests/test-wc-retailcrm-customers.php +++ b/tests/test-wc-retailcrm-customers.php @@ -80,7 +80,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) { @@ -103,7 +103,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) {