Update the version number check for test_get_woocommerce_api_url
This commit is contained in:
parent
9e2f0f55d8
commit
0a9d00bab6
|
@ -107,10 +107,10 @@ class Core_Functions extends \WC_Unit_Test_Case {
|
|||
$base_uri = get_home_url();
|
||||
|
||||
// base uri
|
||||
$this->assertEquals( "$base_uri/wc-api/v2/", get_woocommerce_api_url( null ) );
|
||||
$this->assertEquals( "$base_uri/wc-api/v3/", get_woocommerce_api_url( null ) );
|
||||
|
||||
// path
|
||||
$this->assertEquals( "$base_uri/wc-api/v2/orders", get_woocommerce_api_url( 'orders' ) );
|
||||
$this->assertEquals( "$base_uri/wc-api/v3/orders", get_woocommerce_api_url( 'orders' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue