File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -229,17 +229,12 @@ Feature: Scaffold WP-CLI commands
229
229
Scenario: Use tilde for HOME in package directory path
230
230
Given an empty directory
231
231
232
- When I try ` wp scaffold package bar/foo --dir=~/foo --force --skip-tests --skip-readme`
232
+ When I run `HOME={RUN_DIR} wp scaffold package bar/foo --dir=~/foo --force --skip-tests --skip-readme`
233
233
Then STDOUT should contain:
234
234
"""
235
235
Success: Package installed.
236
236
"""
237
- And STDERR should contain:
238
- """
239
- Warning: File already exists
240
- """
241
- And the /tmp/wp-cli-home/foo directory should exist
242
- And the return code should be 0
237
+ And the {RUN_DIR}/foo directory should exist
243
238
244
239
Scenario: Scaffold a package but skip installation and GitHub templates
245
240
Given an empty directory
You can’t perform that action at this time.
0 commit comments