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
209209 And the {PLUGIN_DIR}/hello-world/.editorconfig file should exist
210210 And the {PLUGIN_DIR}/hello-world/hello-world.php file should exist
211211 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
214213 And the {PLUGIN_DIR}/hello-world/.gitignore file should contain:
215214 """
216215 .DS_Store
@@ -219,6 +218,7 @@ Feature: WordPress code scaffolding
219218 Thumbs.db
220219 wp-cli.local.yml
221220 node_modules/
221+ vendor/
222222 """
223223 And the {PLUGIN_DIR}/hello-world/.distignore file should contain:
224224 """
@@ -254,14 +254,10 @@ Feature: WordPress code scaffolding
254254 Tested up to: {WP_VERSION}
255255 """
256256
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:
263259 """
264- {"version":"0.1.0"}
260+ wp-cli/i18n-command
265261 """
266262
267263 Scenario : Scaffold a plugin by prompting
You can’t perform that action at this time.
0 commit comments