File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -209,8 +209,7 @@ Feature: WordPress code scaffolding
209
209
And the {PLUGIN_DIR}/hello-world/.editorconfig file should exist
210
210
And the {PLUGIN_DIR}/hello-world/hello-world.php file should exist
211
211
And the {PLUGIN_DIR}/hello-world/readme.txt file should exist
212
- And the {PLUGIN_DIR}/hello-world/package.json file should exist
213
- And the {PLUGIN_DIR}/hello-world/Gruntfile.js file should exist
212
+ And the {PLUGIN_DIR}/hello-world/composer.json file should exist
214
213
And the {PLUGIN_DIR}/hello-world/.gitignore file should contain:
215
214
"""
216
215
.DS_Store
@@ -219,6 +218,7 @@ Feature: WordPress code scaffolding
219
218
Thumbs.db
220
219
wp-cli.local.yml
221
220
node_modules/
221
+ vendor/
222
222
"""
223
223
And the {PLUGIN_DIR}/hello-world/.distignore file should contain:
224
224
"""
@@ -254,14 +254,10 @@ Feature: WordPress code scaffolding
254
254
Tested up to: {WP_VERSION}
255
255
"""
256
256
257
- When I run `cat {PLUGIN_DIR}/hello-world/package.json`
258
- Then STDOUT should be JSON containing:
259
- """
260
- {"author":"Hello World Author"}
261
- """
262
- And STDOUT should be JSON containing:
257
+ When I run `cat {PLUGIN_DIR}/hello-world/composer.json`
258
+ Then STDOUT should contain:
263
259
"""
264
- {"version":"0.1.0"}
260
+ wp-cli/i18n-command
265
261
"""
266
262
267
263
Scenario : Scaffold a plugin by prompting
You can’t perform that action at this time.
0 commit comments