44
55use \WP_Mock as Mock ;
66use \Patchwork as p ;
7- use \SkyVerge \WooCommerce \PluginFramework \v5_10_10 as PluginFramework ;
7+ use \SkyVerge \WooCommerce \PluginFramework \v5_10_11 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_10 \SV_WC_Helper::multibyte_loaded ' , function () { return false ; } );
34+ p \redefine ( '\SkyVerge\WooCommerce\PluginFramework\v5_10_11 \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_10 \SV_WC_Helper::multibyte_loaded ' , function () { return false ; } );
119+ p \redefine ( '\SkyVerge\WooCommerce\PluginFramework\v5_10_11 \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_10 \SV_WC_Helper::multibyte_loaded ' , function () { return false ; } );
268+ p \redefine ( '\SkyVerge\WooCommerce\PluginFramework\v5_10_11 \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_10 \SV_WC_Helper::multibyte_loaded ' , function () { return false ; } );
349+ p \redefine ( '\SkyVerge\WooCommerce\PluginFramework\v5_10_11 \SV_WC_Helper::multibyte_loaded ' , function () { return false ; } );
350350
351351 $ the_string = 'The quick brown fox jumps ಠ_ಠ ' ;
352352
0 commit comments