Update unit test for c37c1bd9fa
This commit is contained in:
parent
906940791a
commit
5786f89b3c
|
@ -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/v2.1.0/", 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/v2.1.0/orders", get_woocommerce_api_url( 'orders' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue