You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/requests.feature
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -140,14 +140,18 @@ Feature: Requests integration with both v1 and v2
140
140
"""
141
141
path: wp
142
142
"""
143
+
And an extra-config.php file:
144
+
"""
145
+
require __DIR__ . "/../vendor/autoload.php";
146
+
"""
143
147
144
148
When I run `vendor/bin/wp cli version`
145
149
Then STDOUT should contain:
146
150
"""
147
151
WP-CLI 2.8
148
152
"""
149
153
150
-
When I run `vendor/bin/wp config create --dbname={DB_NAME} --dbuser={DB_USER} --dbpass={DB_PASSWORD} --dbhost={DB_HOST}`
154
+
When I run `vendor/bin/wp config create --dbname={DB_NAME} --dbuser={DB_USER} --dbpass={DB_PASSWORD} --dbhost={DB_HOST} --extra-php < extra-config.php`
0 commit comments