File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ modules:
13
13
- lucatume\WPBrowser\Module\WPDb
14
14
- lucatume\WPBrowser\Module\WPFilesystem
15
15
- lucatume\WPBrowser\Module\WPLoader
16
+ - lucatume\WPBrowser\Module\WPCLI
16
17
17
18
# Codeception supplied classes, which provide assertions and filesystem functions
18
19
- \Codeception\Module\Asserts
@@ -33,6 +34,9 @@ modules:
33
34
- \Tests\Support\Helper\WPQuickEdit
34
35
- \Tests\Support\Helper\Xdebug
35
36
config :
37
+ lucatume\WPBrowser\Module\WPCLI :
38
+ path : ' %WORDPRESS_ROOT_DIR%'
39
+ throw : true
36
40
lucatume\WPBrowser\Module\WPWebDriver :
37
41
url : ' %WORDPRESS_URL%'
38
42
adminUsername : ' %WORDPRESS_ADMIN_USER%'
Original file line number Diff line number Diff line change @@ -1064,7 +1064,7 @@ public function wooCommerceDeleteAllOrders($I)
1064
1064
$ I ->dontHavePostInDatabase ([ 'post_type ' => 'shop_order ' ]);
1065
1065
1066
1066
// 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 ' ]);
1069
1069
}
1070
1070
}
You can’t perform that action at this time.
0 commit comments