Fixed all typo in tests/ directory.

This commit is contained in:
Akeda Bagus 2017-03-29 01:02:31 +07:00
parent 0b416439c8
commit 757b5ae2c4
No known key found for this signature in database
GPG Key ID: 5536B6FE55A7F4B2
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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();