Skip to content

Commit b53a39d

Browse files
committed
Add debug output to test
1 parent 76940db commit b53a39d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

features/requests.feature

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,18 @@ Feature: Requests integration with both v1 and v2
157157
Success: Generated 'wp-config.php' file.
158158
"""
159159
160+
When I run `vendor/bin/wp config set WP_DEBUG true --raw`
161+
Then STDOUT should be:
162+
"""
163+
Success: Updated the constant 'WP_DEBUG' in the 'wp-config.php' file with the raw value 'true'.
164+
"""
165+
166+
When I run `vendor/bin/wp config set WP_DEBUG_DISPLAY true --raw`
167+
Then STDOUT should be:
168+
"""
169+
Success: Added the constant 'WP_DEBUG_DISPLAY' to the 'wp-config.php' file with the raw value 'true'.
170+
"""
171+
160172
When I run `vendor/bin/wp db create`
161173
Then STDOUT should be:
162174
"""

0 commit comments

Comments
 (0)