We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b61d0d9 commit 7bba651Copy full SHA for 7bba651
features/db-export.feature
@@ -37,11 +37,15 @@ Feature: Export a WordPress database
37
Scenario: Exclude data of certain tables when exporting the database
38
Given a WP install
39
40
- When I run `wp db export wp_cli_test.sql --exclude_tables_data=wp_actionscheduler_logs --porcelain`
+ When I run `wp db export wp_cli_test.sql --exclude_tables_data=wp_users --porcelain`
41
Then the wp_cli_test.sql file should exist
42
And the wp_cli_test.sql file should contain:
43
"""
44
- wp_actionscheduler_logs
+ wp_users
45
+ """
46
+ And the wp_cli_test.sql file should not contain:
47
48
+ INSERT INTO `wp_users`
49
50
51
Scenario: Export database to STDOUT
0 commit comments