Update the version number check for test_get_woocommerce_api_url

This commit is contained in:
Justin Shreve 2015-06-18 22:24:57 +00:00
parent 9e2f0f55d8
commit 0a9d00bab6
1 changed files with 2 additions and 2 deletions

View File

@ -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' ) );
}
/**