Fixed all typo in tests/ directory.
This commit is contained in:
parent
0b416439c8
commit
757b5ae2c4
|
@ -264,7 +264,7 @@ class Payment_Gateways extends WC_REST_Unit_Test_Case {
|
|||
}
|
||||
|
||||
/**
|
||||
* Loads a particualr gateway's settings so we can correctly test API output.
|
||||
* Loads a particular gateway's settings so we can correctly test API output.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @param string $gateway_class Name of WC_Payment_Gateway class.
|
||||
|
|
|
@ -180,7 +180,7 @@ class Products_API extends WC_REST_Unit_Test_Case {
|
|||
$this->assertContains( 'Dr1Bczxq4q', $data['images'][0]['src'] );
|
||||
$this->assertContains( 'test upload image', $data['images'][0]['alt'] );
|
||||
|
||||
// test variable product (varations are tested in product-variations.php)
|
||||
// test variable product (variations are tested in product-variations.php)
|
||||
$product = WC_Helper_Product::create_variation_product();
|
||||
$response = $this->server->dispatch( new WP_REST_Request( 'GET', '/wc/v2/products/' . $product->get_id() ) );
|
||||
$data = $response->get_data();
|
||||
|
|
Loading…
Reference in New Issue