Skip to content

Commit ad8dde4

Browse files
committed
Bump namespaces
1 parent 29d1647 commit ad8dde4

File tree

130 files changed

+324
-324
lines changed

Some content is hidden

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

130 files changed

+324
-324
lines changed

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_10_9 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_10 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_10_9 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_10 as PluginFramework;
77

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

tests/_archive/unit/helper.php

Lines changed: 5 additions & 5 deletions
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_10_9 as PluginFramework;
7+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_10 as PluginFramework;
88

99
/**
1010
* Helper Class Unit Tests
@@ -31,7 +31,7 @@ class Helper extends Test_Case {
3131
public function test_str_starts_with_ascii( $asserts_as_true, $haystack, $needle ) {
3232

3333
// force ASCII handling
34-
p\redefine( '\SkyVerge\WooCommerce\PluginFramework\v5_10_9\SV_WC_Helper::multibyte_loaded', function() { return false; } );
34+
p\redefine( '\SkyVerge\WooCommerce\PluginFramework\v5_10_10\SV_WC_Helper::multibyte_loaded', function() { return false; } );
3535

3636
if ( $asserts_as_true ) {
3737
$this->assertTrue( PluginFramework\SV_WC_Helper::str_starts_with( $haystack, $needle ) );
@@ -116,7 +116,7 @@ public function provider_str_starts_with_mb() {
116116
public function test_str_ends_with_ascii( $asserts_as_true, $haystack, $needle ) {
117117

118118
// force ASCII handling
119-
p\redefine( '\SkyVerge\WooCommerce\PluginFramework\v5_10_9\SV_WC_Helper::multibyte_loaded', function() { return false; } );
119+
p\redefine( '\SkyVerge\WooCommerce\PluginFramework\v5_10_10\SV_WC_Helper::multibyte_loaded', function() { return false; } );
120120

121121
if ( $asserts_as_true ) {
122122
$this->assertTrue( PluginFramework\SV_WC_Helper::str_ends_with( $haystack, $needle ) );
@@ -265,7 +265,7 @@ public function provider_test_str_to_sane_utf8() {
265265
public function test_str_exists_ascii( $asserts_as_true, $haystack, $needle ) {
266266

267267
// force ASCII handling
268-
p\redefine( '\SkyVerge\WooCommerce\PluginFramework\v5_10_9\SV_WC_Helper::multibyte_loaded', function() { return false; } );
268+
p\redefine( '\SkyVerge\WooCommerce\PluginFramework\v5_10_10\SV_WC_Helper::multibyte_loaded', function() { return false; } );
269269

270270
if ( $asserts_as_true ) {
271271
$this->assertTrue( PluginFramework\SV_WC_Helper::str_exists( $haystack, $needle ) );
@@ -346,7 +346,7 @@ public function provider_str_exists_mb() {
346346
public function test_str_truncate_ascii() {
347347

348348
// force ASCII handling
349-
p\redefine( '\SkyVerge\WooCommerce\PluginFramework\v5_10_9\SV_WC_Helper::multibyte_loaded', function() { return false; } );
349+
p\redefine( '\SkyVerge\WooCommerce\PluginFramework\v5_10_10\SV_WC_Helper::multibyte_loaded', function() { return false; } );
350350

351351
$the_string = 'The quick brown fox jumps ಠ_ಠ';
352352

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_10_9 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_10 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_10_9 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_10 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_10_9 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_10 as PluginFramework;
77

88
/**
99
* Unit tests for \SV_WC_Payment_Gateway_Payment_Token

tests/_archive/unit/payment-gateway/apple-pay-api-request.php

Lines changed: 2 additions & 2 deletions
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_10_9 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_10 as PluginFramework;
77

88
/**
99
* Unit tests for \SV_WC_Payment_Gateway_Apple_Pay_API_Request
@@ -21,7 +21,7 @@ class Payment_Gateway_Apple_Pay_API_Request extends Test_Case {
2121
*/
2222
public function test_set_merchant_data( $merchant_id, $domain_name, $display_name, $expected ) {
2323

24-
$gateway = $this->getMockBuilder( '\SkyVerge\WooCommerce\PluginFramework\v5_10_9\SV_WC_Payment_Gateway' )->getMock();
24+
$gateway = $this->getMockBuilder( '\SkyVerge\WooCommerce\PluginFramework\v5_10_10\SV_WC_Payment_Gateway' )->getMock();
2525

2626
$request = new PluginFramework\SV_WC_Payment_Gateway_Apple_Pay_API_Request( $gateway );
2727

tests/_archive/unit/payment-gateway/apple-pay-api-response.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_10_9 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_10 as PluginFramework;
77

88
/**
99
* Unit tests for \SV_WC_Payment_Gateway_Apple_Pay_API_Response

tests/_archive/unit/payment-gateway/apple-pay-payment-response.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_10_9 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_10 as PluginFramework;
77

88
/**
99
* Unit tests for \SV_WC_Payment_Gateway_Apple_Pay_Payment_Response

tests/_archive/unit/plugin.php

Lines changed: 3 additions & 3 deletions
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_10_9 as PluginFramework;
6+
use \SkyVerge\WooCommerce\PluginFramework\v5_10_10 as PluginFramework;
77

88
/**
99
* Plugin Test
@@ -15,7 +15,7 @@ class Plugin extends Test_Case {
1515

1616
public function test_constructor() {
1717

18-
$this->assertInstanceOf( '\SkyVerge\WooCommerce\PluginFramework\v5_10_9\SV_WC_Plugin', $this->plugin() );
18+
$this->assertInstanceOf( '\SkyVerge\WooCommerce\PluginFramework\v5_10_10\SV_WC_Plugin', $this->plugin() );
1919
}
2020

2121
public function test_clone() {
@@ -135,7 +135,7 @@ protected function plugin() {
135135
),
136136
);
137137

138-
return $this->getMockBuilder( '\SkyVerge\WooCommerce\PluginFramework\v5_10_9\SV_WC_Plugin' )
138+
return $this->getMockBuilder( '\SkyVerge\WooCommerce\PluginFramework\v5_10_10\SV_WC_Plugin' )
139139
->setConstructorArgs( $args )
140140
->getMockForAbstractClass();
141141
}

0 commit comments

Comments
 (0)