From 858dd73caa4b0a2abddb4b356416d30a5ddfba84 Mon Sep 17 00:00:00 2001 From: Ivan Chaplygin Date: Thu, 11 Apr 2024 14:41:12 +0300 Subject: [PATCH] ref #72067 Edit tests --- tests/test-wc-retailcrm-base.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/test-wc-retailcrm-base.php b/tests/test-wc-retailcrm-base.php index 46dd14e..c24c3c9 100644 --- a/tests/test-wc-retailcrm-base.php +++ b/tests/test-wc-retailcrm-base.php @@ -412,18 +412,6 @@ class WC_Retailcrm_Base_Test extends WC_Retailcrm_Test_Case_Helper $this->assertEquals('', $this->baseRetailcrm->validate_api_url_field('', 'https://test.simla.com/test')); } - public function test_get_status_coupon() - { - $result = $this->baseRetailcrm->get_status_coupon(); - $result = json_decode($result); - - $this->assertEquals('yes', $result['coupon_status']); - $this->assertEquals( - "To activate the loyalty program it is necessary to activate the 'enable use of coupons option", - $result['translate']['coupon_warning'] - ); - } - private function getJsonData($text) { preg_match('/{.*}/', $text, $matches);