File tree Expand file tree Collapse file tree 3 files changed +105
-203
lines changed
Expand file tree Collapse file tree 3 files changed +105
-203
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ Feature: Import a WordPress database
3636 Success: Imported from 'wp_cli_test.sql'.
3737 """
3838
39+ @require-mysql-or-mariadb
3940 Scenario : Import from STDIN
4041 Given a WP install
4142
@@ -45,6 +46,17 @@ Feature: Import a WordPress database
4546 Success: Imported from 'STDIN'.
4647 """
4748
49+ # TODO: Debug the difference here.
50+ @require-sqlite
51+ Scenario : Import from STDIN
52+ Given a WP install
53+
54+ When I run `echo "" | wp db import -`
55+ Then STDOUT should be:
56+ """
57+ Success: Imported from 'STDIN'.
58+ """
59+
4860 Scenario : Import from database name path by default and skip speed optimization
4961 Given a WP install
5062
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ Feature: Query the database with WordPress' MySQL config
1414 Error: Plugin loaded.
1515 """
1616
17- # TODO: When using SQLite the output format should be the same
1817 When I run `wp db query "SELECT COUNT(ID) FROM wp_users;" `
1918 Then STDOUT should be:
2019 """
You can’t perform that action at this time.
0 commit comments