File tree Expand file tree Collapse file tree 5 files changed +28
-4
lines changed
Expand file tree Collapse file tree 5 files changed +28
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ Feature: WordPress block code scaffolding
6060 """
6161 And the {PLUGIN_DIR}/blocks/the-green-mile.php file should contain:
6262 """
63- register_block_type( 'movies/the-green-mile', array(
63+ register_block_type( 'movies/the-green-mile', [
6464 """
6565 And the {PLUGIN_DIR}/blocks/the-green-mile.php file should contain:
6666 """
Original file line number Diff line number Diff line change @@ -111,6 +111,18 @@ Feature: Scaffold plugin unit tests
111111 """
112112 php71-build
113113 """
114+ And the {PLUGIN_DIR}/.circleci/config.yml file should contain:
115+ """
116+ php72-build
117+ """
118+ And the {PLUGIN_DIR}/.circleci/config.yml file should contain:
119+ """
120+ php73-build
121+ """
122+ And the {PLUGIN_DIR}/.circleci/config.yml file should contain:
123+ """
124+ php74-build
125+ """
114126
115127 Scenario : Scaffold plugin tests with Circle as the provider, part two
116128 Given a WP install
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Feature: Scaffold a custom taxonomy
1919 """
2020 And STDOUT should contain:
2121 """
22- $messages['fungus'] = array(
22+ $messages['fungus'] = [
2323 """
2424 And STDOUT should contain:
2525 """
Original file line number Diff line number Diff line change @@ -153,6 +153,18 @@ Feature: Scaffold theme unit tests
153153 """
154154 php71-build
155155 """
156+ And the {THEME_DIR}/p2child/.circleci/config.yml file should contain:
157+ """
158+ php72-build
159+ """
160+ And the {THEME_DIR}/p2child/.circleci/config.yml file should contain:
161+ """
162+ php73-build
163+ """
164+ And the {THEME_DIR}/p2child/.circleci/config.yml file should contain:
165+ """
166+ php74-build
167+ """
156168
157169 Scenario : Scaffold theme tests with Gitlab as the provider
158170 When I run `wp scaffold theme-tests p2child --ci=gitlab`
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ Feature: WordPress code scaffolding
9393 When I run `wp scaffold post-type zombie`
9494 Then STDOUT should contain:
9595 """
96- 'rest_base' => 'zombie'
96+ 'rest_base' => 'zombie'
9797 """
9898 And STDOUT should contain:
9999 """
@@ -116,7 +116,7 @@ Feature: WordPress code scaffolding
116116 """
117117 And STDOUT should contain:
118118 """
119- array( 'prefix-zombie', 'wraith' )
119+ [ 'prefix-zombie', 'wraith' ]
120120 """
121121 And STDOUT should contain:
122122 """
You can’t perform that action at this time.
0 commit comments