Code style changes.

This commit is contained in:
Grzegorz Rola 2018-08-29 19:43:57 +02:00
parent 2a7d84c208
commit a1cc439569
1 changed files with 4 additions and 4 deletions

View File

@ -50,15 +50,15 @@ class WC_Tests_Cart extends WC_Unit_Test_Case {
// Create product with price 19
$product = WC_Helper_Product::create_simple_product();
$product->set_price( 19 );
$product->set_regular_price(19 );
$product->set_tax_class('5percent');
$product->set_regular_price( 19 );
$product->set_tax_class( '5percent' );
$product->save();
// Create product with price 59
$product2 = WC_Helper_Product::create_simple_product();
$product2->set_price( 59 );
$product2->set_regular_price(59 );
$product->set_tax_class('5percent');
$product2->set_regular_price( 59 );
$product->set_tax_class( '5percent' );
$product2->save();
// Create a flat rate method.