From 0edd45b30c365cdc0da956cf4f49f9682386a3e4 Mon Sep 17 00:00:00 2001 From: vendidero Date: Thu, 22 Feb 2024 11:01:07 +0100 Subject: [PATCH] Explicitly enable hpos. --- tests/unit-tests/caches.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit-tests/caches.php b/tests/unit-tests/caches.php index 8cf3ac3b..7d2627c6 100644 --- a/tests/unit-tests/caches.php +++ b/tests/unit-tests/caches.php @@ -18,6 +18,8 @@ function test_temp_disable() { } function test_shipment_order_cache() { + update_option( 'woocommerce_custom_orders_table_enabled', 'yes' ); + $shipment = ShipmentHelper::create_simple_shipment(); $order = wc_get_order( $shipment->get_order_id() );