diff --git a/plugins/woocommerce/tests/legacy/unit-tests/util/api-functions.php b/plugins/woocommerce/tests/legacy/unit-tests/util/api-functions.php index 8d9eb9d2a9e..e5ffb2358bb 100644 --- a/plugins/woocommerce/tests/legacy/unit-tests/util/api-functions.php +++ b/plugins/woocommerce/tests/legacy/unit-tests/util/api-functions.php @@ -167,7 +167,7 @@ class WC_Tests_API_Functions extends WC_Unit_Test_Case { * @since 2.6.0 */ public function test_wc_rest_urlencode_rfc3986() { - $this->assertEquals( 'https%3A%2F%woo.com%2F', wc_rest_urlencode_rfc3986( 'https://woo.com/' ) ); + $this->assertEquals( 'https%3A%2F%2Fwoo.com%2F', wc_rest_urlencode_rfc3986( 'https://woo.com/' ) ); } /**