From 2032a43737e53ae2ec16252c6956ee498697a852 Mon Sep 17 00:00:00 2001 From: vendidero Date: Thu, 22 Feb 2024 11:04:27 +0100 Subject: [PATCH] Explicitly enable hpos. --- tests/unit-tests/caches.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit-tests/caches.php b/tests/unit-tests/caches.php index 7d2627c6..21ceb21c 100644 --- a/tests/unit-tests/caches.php +++ b/tests/unit-tests/caches.php @@ -19,6 +19,7 @@ function test_temp_disable() { function test_shipment_order_cache() { update_option( 'woocommerce_custom_orders_table_enabled', 'yes' ); + WC_Install::create_tables(); $shipment = ShipmentHelper::create_simple_shipment(); $order = wc_get_order( $shipment->get_order_id() );