From 9454ca4f16bd7f4f0f3e07c4b5dbca1f03cc9130 Mon Sep 17 00:00:00 2001 From: dinamiko Date: Tue, 16 Aug 2022 11:06:18 +0200 Subject: [PATCH] Leave it as it was for now --- tests/stubs/WC_Payment_Gateway.php | 4 ++-- tests/stubs/WC_Payment_Gateway_CC.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/stubs/WC_Payment_Gateway.php b/tests/stubs/WC_Payment_Gateway.php index 12a9fbf7b..bb87ee010 100644 --- a/tests/stubs/WC_Payment_Gateway.php +++ b/tests/stubs/WC_Payment_Gateway.php @@ -12,8 +12,8 @@ class WC_Payment_Gateway } - protected function get_return_url($order = null) { - return ''; + protected function get_return_url($wcOrder) { + return $wcOrder; } public function process_admin_options() { diff --git a/tests/stubs/WC_Payment_Gateway_CC.php b/tests/stubs/WC_Payment_Gateway_CC.php index 42cae586b..7c7b26df6 100644 --- a/tests/stubs/WC_Payment_Gateway_CC.php +++ b/tests/stubs/WC_Payment_Gateway_CC.php @@ -6,7 +6,7 @@ class WC_Payment_Gateway_CC public function init_settings() {} public function process_admin_options() {} - protected function get_return_url($order = null) { - return ''; + protected function get_return_url($wcOrder) { + return $wcOrder; } }