From 9a550c4a35a5b255b20db019d87552564155c0e0 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Thu, 14 Jun 2018 16:34:36 +0100 Subject: [PATCH] Update to correct type in unit test --- tests/unit-tests/product/query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit-tests/product/query.php b/tests/unit-tests/product/query.php index 8d9da11f1a8..a1c4dc7f6f0 100644 --- a/tests/unit-tests/product/query.php +++ b/tests/unit-tests/product/query.php @@ -31,7 +31,7 @@ class WC_Tests_WC_Product_Query extends WC_Unit_Test_Case { $product1->set_sale_price( '5.00' ); $product1->save(); - $product2 = new WC_Product_Grouped(); + $product2 = new WC_Product_Simple(); $product2->set_sku( 'sku2' ); $product2->set_regular_price( '12.50' ); $product2->set_sale_price( '5.00' );