Skip to content

Commit

Permalink
Fix broken tests due to DB connection failure error message change
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera committed Jul 14, 2022
1 parent 48d4359 commit 9b2a887
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/db.feature
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Feature: Perform database operations
Then STDOUT should be empty
And STDERR should contain:
"""
We were able to connect to the database server (which means your username and password is okay) but not able to select the `wp_cli_test` database.
(which means your username and password is okay)
"""

When I run `wp db create`
Expand Down Expand Up @@ -62,7 +62,7 @@ Feature: Perform database operations
Then STDOUT should be empty
And STDERR should contain:
"""
We were able to connect to the database server (which means your username and password is okay) but not able to select the `wp_cli_test` database.
(which means your username and password is okay)
"""
When I run `wp db create --dbuser=wp_cli_test`
Expand Down

0 comments on commit 9b2a887

Please sign in to comment.