Skip to content

Commit

Permalink
Fix namespace mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
nmolham-godaddy committed Aug 22, 2024
1 parent 779fa03 commit 98c1736
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"autoload": {
"psr-4": {
"SkyVerge\\WooCommerce\\PluginFramework\\v5_12_7\\": "src/"
"SkyVerge\\WooCommerce\\PluginFramework\\v5_13_1\\": "src/"
}
},
"config": {
Expand Down
7 changes: 0 additions & 7 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

0 comments on commit 98c1736

Please sign in to comment.