Skip to content

Commit 90b0125

Browse files
Tweak the tests a bit more
1 parent 4610843 commit 90b0125

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

features/db.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Feature: Perform database operations
1212
"""
1313
y
1414
"""
15-
And wp-debug.php file:
15+
And a wp-debug.php file:
1616
"""
1717
<?php
1818
define( 'WP_DEBUG', true );
@@ -27,7 +27,7 @@ Feature: Perform database operations
2727
Then STDOUT should be empty
2828
And STDERR should contain:
2929
"""
30-
Can’t select database. 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.
30+
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.
3131
"""
3232

3333
When I run `wp db create`
@@ -64,7 +64,7 @@ Feature: Perform database operations
6464
Given an empty directory
6565
And WP files
6666
And wp-config.php
67-
And wp-debug.php file:
67+
And a wp-debug.php file:
6868
"""
6969
<?php
7070
define( 'WP_DEBUG', true );
@@ -77,9 +77,9 @@ Feature: Perform database operations
7777
7878
When I try `wp option get home`
7979
Then STDOUT should be empty
80-
And STDERR should be:
80+
And STDERR should contain:
8181
"""
82-
Can’t select database. 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.
82+
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.
8383
"""
8484
8585
When I run `wp db create --dbuser=wp_cli_test`

0 commit comments

Comments
 (0)