From 8ffe10c5b79e82140b0ddcda579745b72a186dcb Mon Sep 17 00:00:00 2001 From: Aashish Date: Tue, 6 Aug 2024 17:50:35 +0700 Subject: [PATCH] Fix test in omise-block-credit-card-test.php. --- .../includes/blocks/gateways/omise-block-credit-card-test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/includes/blocks/gateways/omise-block-credit-card-test.php b/tests/unit/includes/blocks/gateways/omise-block-credit-card-test.php index 985fbb90..e0b7150d 100644 --- a/tests/unit/includes/blocks/gateways/omise-block-credit-card-test.php +++ b/tests/unit/includes/blocks/gateways/omise-block-credit-card-test.php @@ -90,7 +90,7 @@ public function get_payment_method_script_handles() Monkey\Functions\expect('wp_script_is'); Monkey\Functions\expect('wp_register_script'); Monkey\Functions\expect('plugin_dir_url'); - Monkey\Functions\expect('plugin_url'); + Monkey\Functions\expect('plugins_url'); Monkey\Functions\expect('is_checkout')->andReturn(true); Monkey\Functions\expect('wc_string_to_bool')->andReturn(null);