Skip to content

Commit e2e8e94

Browse files
committed
more tweaks
1 parent f655661 commit e2e8e94

File tree

3 files changed

+105
-203
lines changed

3 files changed

+105
-203
lines changed

features/db-import.feature

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff 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

features/db-query.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
"""

0 commit comments

Comments
 (0)