Remove unused code

This commit is contained in:
Rodrigo Primo 2018-08-27 17:54:55 -03:00
parent c887307d1a
commit 7b6fcd18b5
1 changed files with 0 additions and 1 deletions

View File

@ -280,7 +280,6 @@ class Products_API extends WC_REST_Unit_Test_Case {
*/
public function test_update_product_with_invalid_id() {
wp_set_current_user( $this->user );
$product = WC_Helper_Product::create_simple_product();
$request = new WP_REST_Request( 'PUT', '/wc/v2/products/0' );
$request->set_body_params(
array(