File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ modules:
1313 - lucatume\WPBrowser\Module\WPDb
1414 - lucatume\WPBrowser\Module\WPFilesystem
1515 - lucatume\WPBrowser\Module\WPLoader
16+ - lucatume\WPBrowser\Module\WPCLI
1617
1718 # Codeception supplied classes, which provide assertions and filesystem functions
1819 - \Codeception\Module\Asserts
@@ -33,6 +34,9 @@ modules:
3334 - \Tests\Support\Helper\WPQuickEdit
3435 - \Tests\Support\Helper\Xdebug
3536 config :
37+ lucatume\WPBrowser\Module\WPCLI :
38+ path : ' %WORDPRESS_ROOT_DIR%'
39+ throw : true
3640 lucatume\WPBrowser\Module\WPWebDriver :
3741 url : ' %WORDPRESS_URL%'
3842 adminUsername : ' %WORDPRESS_ADMIN_USER%'
Original file line number Diff line number Diff line change @@ -1064,7 +1064,7 @@ public function wooCommerceDeleteAllOrders($I)
10641064 $ I ->dontHavePostInDatabase ([ 'post_type ' => 'shop_order ' ]);
10651065
10661066 // Delete from wp_wc_orders and wp_wc_orders_meta HPOS tables.
1067- $ I ->dontHaveInDatabase ('wp_wc_orders ' , [ 'parent_order_id ' => 0 ]);
1068- $ I ->dontHaveInDatabase ('wp_wc_orders_meta ' , [ 'id >= ' , ' 0 ' ]);
1067+ $ I ->dontHaveInDatabase ('wp_wc_orders ' , [ 'a ' => ' a ' ]);
1068+ $ I ->dontHaveInDatabase ('wp_wc_orders_meta ' , [ 'a ' => ' a ' ]);
10691069 }
10701070}
You can’t perform that action at this time.
0 commit comments