Merge pull request #16071 from websupporter/fix-typo-in-test

Fix typo in test (Solves #16070)
This commit is contained in:
Mike Jolley 2017-07-11 14:58:12 +01:00 committed by GitHub
commit 6462b67307
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class Products_API extends WC_REST_Unit_Test_Case {
public function test_get_products() {
wp_set_current_user( $this->user );
WC_Helper_Product::create_external_product();
sleep( 1 ); // So both proudcts have different timestamps.
sleep( 1 ); // So both products have different timestamps.
WC_Helper_Product::create_simple_product();
$response = $this->server->dispatch( new WP_REST_Request( 'GET', '/wc/v2/products' ) );
$products = $response->get_data();