Skip to content

Commit e185d33

Browse files
authored
Merge pull request #98 from wp-cli/97-fix-privacy-policy-post-count
Count users instead of posts for the smoke test
2 parents 6355c58 + 1feefe3 commit e185d33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/db-query.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ Feature: Query the database with WordPress' MySQL config
1414
Error: Plugin loaded.
1515
"""
1616

17-
When I run `wp db query "SELECT COUNT(ID) FROM wp_posts;"`
17+
When I run `wp db query "SELECT COUNT(ID) FROM wp_users;"`
1818
Then STDOUT should be:
1919
"""
2020
COUNT(ID)
21-
2
21+
1
2222
"""
2323

2424
Scenario: Database querying with passed-in options

0 commit comments

Comments
 (0)