Skip to content

Commit 5825288

Browse files
committed
Tests: Enable / disable HPOS between tests
1 parent 7cdd7fc commit 5825288

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

tests/acceptance/sync-past-orders/SyncPastOrdersCLICest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ public function _before(AcceptanceTester $I)
1818
// Activate Plugin.
1919
$I->activateWooCommerceAndConvertKitPlugins($I);
2020

21+
// Disable HPOS.
22+
$I->disableWooCommerceHPOS($I);
23+
2124
// Setup WooCommerce Plugin.
2225
$I->setupWooCommercePlugin($I);
2326

tests/acceptance/sync-past-orders/SyncPastOrdersHPOSCLICest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ public function _before(AcceptanceTester $I)
1919
// Activate Plugin.
2020
$I->activateWooCommerceAndConvertKitPlugins($I);
2121

22+
// Enable HPOS.
23+
$I->enableWooCommerceHPOS($I);
24+
2225
// Setup WooCommerce Plugin.
2326
$I->setupWooCommercePlugin($I);
2427

tests/acceptance/sync-past-orders/SyncPastOrdersHPOSCest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ public function _before(AcceptanceTester $I)
1919
// Activate Plugin.
2020
$I->activateWooCommerceAndConvertKitPlugins($I);
2121

22+
// Enable HPOS.
23+
$I->enableWooCommerceHPOS($I);
24+
2225
// Setup WooCommerce Plugin.
2326
$I->setupWooCommercePlugin($I);
2427

0 commit comments

Comments
 (0)