From 7940e1970dcaf7a0973b6cbcec627429a294b08f Mon Sep 17 00:00:00 2001 From: Mauricio Astudillo Toledo Date: Fri, 29 Nov 2024 12:10:03 -0300 Subject: [PATCH] refactor: rename test connection method --- plugin/src/Utils/ConnectionCheck.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/src/Utils/ConnectionCheck.php b/plugin/src/Utils/ConnectionCheck.php index 1d7e6ccf..304a3280 100644 --- a/plugin/src/Utils/ConnectionCheck.php +++ b/plugin/src/Utils/ConnectionCheck.php @@ -7,7 +7,7 @@ class ConnectionCheck { public static function check() { - $resp = ConnectionCheck::setCreateTransaction(); + $resp = ConnectionCheck::performTestTransaction(); header('Content-Type: application/json'); ob_clean(); @@ -15,7 +15,7 @@ public static function check() wp_die(); } - public static function setCreateTransaction() + public static function performTestTransaction() { $amount = 990; $buyOrder = '_Healthcheck_';