Skip to content

Commit dca43cc

Browse files
committed
Adjust test
1 parent a961eca commit dca43cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

features/install-wp-tests.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Feature: Scaffold install-wp-tests.sh tests
119119
"""
120120
And STDOUT should contain:
121121
"""
122-
Recreated the database (wp_cli_test_scaffold)
122+
Database (wp_cli_test_scaffold) recreated.
123123
"""
124124
125125
When I try `WP_TESTS_DIR={RUN_DIR}/wordpress-tests-lib WP_CORE_DIR={RUN_DIR}/wordpress /usr/bin/env bash {PLUGIN_DIR}/hello-world/bin/install-wp-tests.sh wp_cli_test_scaffold {DB_USER} {DB_PASSWORD} {DB_HOST} latest < negative-response`
@@ -250,7 +250,7 @@ Feature: Scaffold install-wp-tests.sh tests
250250
"""
251251
And STDOUT should contain:
252252
"""
253-
Recreated the database (wp_cli_test_scaffold)
253+
Database (wp_cli_test_scaffold) recreated.
254254
"""
255255
256256
When I try `WP_TESTS_DIR={RUN_DIR}/wordpress-tests-lib WP_CORE_DIR={RUN_DIR}/wordpress /usr/bin/env bash {PLUGIN_DIR}/hello-world/bin/install-wp-tests.sh wp_cli_test_scaffold {DB_USER} {DB_PASSWORD} {DB_HOST} latest < negative-response`
@@ -369,7 +369,7 @@ Feature: Scaffold install-wp-tests.sh tests
369369
"""
370370
And STDOUT should contain:
371371
"""
372-
Recreated the database (wp_cli_test_scaffold)
372+
Database (wp_cli_test_scaffold) recreated.
373373
"""
374374
375375
When I try `WP_TESTS_DIR={RUN_DIR}/wordpress-tests-lib WP_CORE_DIR={RUN_DIR}/wordpress /usr/bin/env bash {PLUGIN_DIR}/hello-world/bin/install-wp-tests.sh wp_cli_test_scaffold {DB_USER} {DB_PASSWORD} {DB_HOST} latest < negative-response`

0 commit comments

Comments
 (0)