Update unit test for c37c1bd9fa

This commit is contained in:
Mike Jolley 2015-05-01 15:28:17 +01:00
parent 906940791a
commit 5786f89b3c
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 = get_home_url();
// base uri // base uri
$this->assertEquals( "$base_uri/wc-api/v2/", get_woocommerce_api_url( null ) ); $this->assertEquals( "$base_uri/wc-api/v2.1.0/", get_woocommerce_api_url( null ) );
// path // path
$this->assertEquals( "$base_uri/wc-api/v2/orders", get_woocommerce_api_url( 'orders' ) ); $this->assertEquals( "$base_uri/wc-api/v2.1.0/orders", get_woocommerce_api_url( 'orders' ) );
} }
/** /**