Skip to content

Commit 874f719

Browse files
Merge pull request #471 from skyverge/release/5.7.0
Release v5.7.0
2 parents 21b89cd + d022cd1 commit 874f719

File tree

139 files changed

+6391
-400
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+6391
-400
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,16 @@ install:
6666
- wp rewrite structure '/%postname%/' --hard
6767
- wp core update-db
6868

69-
# copy the plugin to the plugins directory
69+
# copy the plugins to the plugins directory
7070
- cp -r $TRAVIS_BUILD_DIR/tests/_support/plugins/test-plugin $WP_ROOT_FOLDER/wp-content/plugins/
71+
- cp -r $TRAVIS_BUILD_DIR/tests/_support/plugins/gateway-test-plugin $WP_ROOT_FOLDER/wp-content/plugins/
7172
- cp -r $TRAVIS_BUILD_DIR/woocommerce $WP_ROOT_FOLDER/wp-content/plugins/test-plugin/vendor/skyverge/wc-plugin-framework
73+
- cp -r $TRAVIS_BUILD_DIR/woocommerce $WP_ROOT_FOLDER/wp-content/plugins/gateway-test-plugin/vendor/skyverge/wc-plugin-framework
7274

7375
# install & activate WooCommerce & the plugin
7476
- wp plugin install woocommerce --activate
7577
- wp plugin activate test-plugin
78+
- wp plugin activate gateway-test-plugin
7679

7780
# verify the active plugins
7881
- wp plugin list --status=active

codeception.local.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ extensions:
66
files:
77
woocommerce: 'tests/_support/plugins/test-plugin/vendor/skyverge/wc-plugin-framework/woocommerce'
88
tests/_support/plugins/test-plugin: '%WP_ROOT_FOLDER%/wp-content/plugins/test-plugin'
9+
./woocommerce: 'tests/_support/plugins/gateway-test-plugin/vendor/skyverge/wc-plugin-framework/woocommerce'
10+
tests/_support/plugins/gateway-test-plugin: '%WP_ROOT_FOLDER%/wp-content/plugins/gateway-test-plugin'
911
params:
1012
- .env

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "skyverge/wc-plugin-framework",
33
"description": "The official SkyVerge WooCommerce plugin framework",
4-
"version": "5.6.1",
4+
"version": "5.7.0",
55
"require-dev": {
66
"lucatume/wp-browser": "^2.1"
77
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wc-plugin-framework",
3-
"version": "5.6.1",
3+
"version": "5.7.0",
44
"title": "WooCommerce Plugin Framework",
55
"author": "SkyVerge Team",
66
"homepage": "https://github.com/skyverge/wc-plugin-framework#readme",

tests/_archive/unit/Addresses/Address.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace SkyVerge\WooCommerce\PluginFramework\Tests\Unit\Addresses;
44

55
use SkyVerge\WooCommerce\PluginFramework\Tests\Unit;
6-
use \SkyVerge\WooCommerce\PluginFramework\v5_6_1 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_7_0 as PluginFramework;
77

88
/**
99
* Unit tests for PluginFramework\Addresses\Address

tests/_archive/unit/Addresses/Customer_Address.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace SkyVerge\WooCommerce\PluginFramework\Tests\Unit\Addresses;
44

55
use SkyVerge\WooCommerce\PluginFramework\Tests\Unit;
6-
use \SkyVerge\WooCommerce\PluginFramework\v5_6_1 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_7_0 as PluginFramework;
77

88
/**
99
* Unit tests for PluginFramework\Addresses\Address

tests/_archive/unit/helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use \WP_Mock as Mock;
66
use \Patchwork as p;
7-
use \SkyVerge\WooCommerce\PluginFramework\v5_6_1 as PluginFramework;
7+
use \SkyVerge\WooCommerce\PluginFramework\v5_7_0 as PluginFramework;
88

99
/**
1010
* Helper Class Unit Tests

tests/_archive/unit/payment-gateway-api-response-message-helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace SkyVerge\WooCommerce\PluginFramework\Tests\Unit;
44

55
use \WP_Mock as Mock;
6-
use \SkyVerge\WooCommerce\PluginFramework\v5_6_1 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_7_0 as PluginFramework;
77

88
/**
99
* Unit tests for \SV_WC_Payment_Gateway_API_Response_Message_Helper

tests/_archive/unit/payment-gateway-helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace SkyVerge\WooCommerce\PluginFramework\Tests\Unit;
44

55
use \WP_Mock as Mock;
6-
use \SkyVerge\WooCommerce\PluginFramework\v5_6_1 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_7_0 as PluginFramework;
77

88
/**
99
* Unit tests for \SV_WC_Payment_Gateway_Helper

tests/_archive/unit/payment-gateway-payment-token.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace SkyVerge\WooCommerce\PluginFramework\Tests\Unit;
44

55
use \WP_Mock as Mock;
6-
use \SkyVerge\WooCommerce\PluginFramework\v5_6_1 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_7_0 as PluginFramework;
77

88
/**
99
* Unit tests for \SV_WC_Payment_Gateway_Payment_Token

0 commit comments

Comments
 (0)