Update to correct type in unit test

This commit is contained in:
Mike Jolley 2018-06-14 16:34:36 +01:00
parent 5e14953796
commit 9a550c4a35
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class WC_Tests_WC_Product_Query extends WC_Unit_Test_Case {
$product1->set_sale_price( '5.00' ); $product1->set_sale_price( '5.00' );
$product1->save(); $product1->save();
$product2 = new WC_Product_Grouped(); $product2 = new WC_Product_Simple();
$product2->set_sku( 'sku2' ); $product2->set_sku( 'sku2' );
$product2->set_regular_price( '12.50' ); $product2->set_regular_price( '12.50' );
$product2->set_sale_price( '5.00' ); $product2->set_sale_price( '5.00' );