From 98c173658aaa5a29262d18e6c2c363a4999f93c0 Mon Sep 17 00:00:00 2001 From: Nabeel Molham Date: Thu, 22 Aug 2024 15:11:39 +1000 Subject: [PATCH] Fix namespace mapping --- composer.json | 2 +- tests/bootstrap.php | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 047af4c82..b4dcfdbaa 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ }, "autoload": { "psr-4": { - "SkyVerge\\WooCommerce\\PluginFramework\\v5_12_7\\": "src/" + "SkyVerge\\WooCommerce\\PluginFramework\\v5_13_1\\": "src/" } }, "config": { diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 6cd225bdb..644e958a6 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -5,13 +5,6 @@ define('PLUGIN_ROOT_DIR', dirname(__DIR__)); require_once PLUGIN_ROOT_DIR.'/vendor/autoload.php'; -require_once PLUGIN_ROOT_DIR.'/woocommerce/class-sv-wc-plugin.php'; -require_once PLUGIN_ROOT_DIR.'/woocommerce/class-sv-wc-plugin-exception.php'; -require_once PLUGIN_ROOT_DIR.'/woocommerce/Enums/Traits/EnumTrait.php'; -require_once PLUGIN_ROOT_DIR.'/woocommerce/Enums/PaymentFormContext.php'; -require_once PLUGIN_ROOT_DIR.'/woocommerce/Traits/IsSingletonTrait.php'; WP_Mock::setUsePatchwork(true); WP_Mock::bootstrap(); - -require_once PLUGIN_ROOT_DIR.'/woocommerce/class-sv-wc-helper.php';