Skip to content
Snippets Groups Projects

fix: meta key _order_total moved to _wc_orders table

Merged Andrzej Misiewicz requested to merge bugfix/hpos into master
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -52,7 +52,10 @@ abstract class AbstractCestForWooCommerce extends AbstractCest
$i->amOnAdminPage('post.php?post=' . $order_id . '&action=edit');
$i->scrollTo('#woocommerce-order-items');
$i->seePostMetaInDatabase(['post_id' => $order_id, 'meta_key' => '_order_total', 'meta_value' => 13.52]);
$i->seeInDatabase(
'wp_wc_orders',
['id' => $order_id, 'total_amount' => 13.52 ]
);
$i->seeInDatabase(
'wp_woocommerce_order_items',
Loading