Make the test more verbose

Adding more of the expected output to the assertion to reduce the possibility of false positives.

Co-Authored-By: Alain Schlesser <alain.schlesser@gmail.com>
This commit is contained in:
Ted Stresen-Reuter 2020-02-13 19:05:17 +00:00 committed by GitHub
parent 844dd7684c
commit b3243d754b

View file

@ -92,7 +92,7 @@ Feature: Scaffold install-wp-tests.sh tests
"""
And STDOUT should contain:
"""
wp_cli_test_scaffold
Recreated the database wp_cli_test_scaffold
"""

When I try `WP_TESTS_DIR=/tmp/behat-wordpress-tests-lib WP_CORE_DIR=/tmp/behat-wordpress /usr/bin/env bash {PLUGIN_DIR}/hello-world/bin/install-wp-tests.sh wp_cli_test_scaffold wp_cli_test password1 localhost latest < negative-response`