Skip to content

Commit dd33fc7

Browse files
committed
Allow for warnings to be thrown on unsecure requests
1 parent e1d8404 commit dd33fc7

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

features/scaffold.feature

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,8 @@ Feature: WordPress code scaffolding
338338
Given I run `wp theme path`
339339
And save STDOUT as {THEME_DIR}
340340
341-
When I run `wp scaffold _s starter-theme`
341+
# Allow for warnings to be generated due to https://github.com/wp-cli/scaffold-command/issues/181
342+
When I try `wp scaffold _s starter-theme`
342343
Then STDOUT should contain:
343344
"""
344345
Success: Created theme 'Starter-theme'.
@@ -351,7 +352,8 @@ Feature: WordPress code scaffolding
351352
Given I run `wp theme path`
352353
And save STDOUT as {THEME_DIR}
353354
354-
When I run `wp scaffold _s starter-theme --sassify`
355+
# Allow for warnings to be generated due to https://github.com/wp-cli/scaffold-command/issues/181
356+
When I try `wp scaffold _s starter-theme --sassify`
355357
Then STDOUT should contain:
356358
"""
357359
Success: Created theme 'Starter-theme'.
@@ -363,7 +365,8 @@ Feature: WordPress code scaffolding
363365
Given I run `wp theme path`
364366
And save STDOUT as {THEME_DIR}
365367
366-
When I run `wp scaffold _s starter-theme --woocommerce`
368+
# Allow for warnings to be generated due to https://github.com/wp-cli/scaffold-command/issues/181
369+
When I try `wp scaffold _s starter-theme --woocommerce`
367370
Then STDOUT should contain:
368371
"""
369372
Success: Created theme 'Starter-theme'.
@@ -373,7 +376,8 @@ Feature: WordPress code scaffolding
373376
374377
Scenario: Scaffold starter code for a theme and activate it
375378
Given a WP install
376-
When I run `wp scaffold _s starter-theme --activate`
379+
# Allow for warnings to be generated due to https://github.com/wp-cli/scaffold-command/issues/181
380+
When I try `wp scaffold _s starter-theme --activate`
377381
Then STDOUT should contain:
378382
"""
379383
Success: Switched to 'Starter-theme' theme.
@@ -488,7 +492,8 @@ Feature: WordPress code scaffolding
488492
489493
Scenario: Scaffold starter code for a theme and network enable it
490494
Given a WP multisite install
491-
When I run `wp scaffold _s starter-theme --enable-network`
495+
# Allow for warnings to be generated due to https://github.com/wp-cli/scaffold-command/issues/181
496+
When I try `wp scaffold _s starter-theme --enable-network`
492497
Then STDOUT should contain:
493498
"""
494499
Success: Network enabled the 'Starter-theme' theme.

0 commit comments

Comments
 (0)