Skip to content

Commit 268a4cf

Browse files
committed
Only run underscores tests on PHP 5.6+
1 parent 59d1815 commit 268a4cf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

features/scaffold.feature

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ Feature: WordPress code scaffolding
333333
"""
334334
And the return code should be 1
335335
336+
@require-php-5.6
336337
Scenario: Scaffold starter code for a theme
337338
Given a WP install
338339
Given I run `wp theme path`
@@ -347,6 +348,7 @@ Feature: WordPress code scaffolding
347348
And the {THEME_DIR}/starter-theme/style.css file should exist
348349
And the {THEME_DIR}/starter-theme/.editorconfig file should exist
349350
351+
@require-php-5.6
350352
Scenario: Scaffold starter code for a theme with sass
351353
Given a WP install
352354
Given I run `wp theme path`
@@ -360,6 +362,7 @@ Feature: WordPress code scaffolding
360362
"""
361363
And the {THEME_DIR}/starter-theme/sass directory should exist
362364
365+
@require-php-5.6
363366
Scenario: Scaffold starter code for a WooCommerce theme
364367
Given a WP install
365368
Given I run `wp theme path`
@@ -374,6 +377,7 @@ Feature: WordPress code scaffolding
374377
And the {THEME_DIR}/starter-theme/woocommerce.css file should exist
375378
And the {THEME_DIR}/starter-theme/inc/woocommerce.php file should exist
376379
380+
@require-php-5.6
377381
Scenario: Scaffold starter code for a theme and activate it
378382
Given a WP install
379383
# Allow for warnings to be generated due to https://github.com/wp-cli/scaffold-command/issues/181
@@ -490,6 +494,7 @@ Feature: WordPress code scaffolding
490494
env: WP_VERSION=latest
491495
"""
492496
497+
@require-php-5.6
493498
Scenario: Scaffold starter code for a theme and network enable it
494499
Given a WP multisite install
495500
# Allow for warnings to be generated due to https://github.com/wp-cli/scaffold-command/issues/181
@@ -499,6 +504,7 @@ Feature: WordPress code scaffolding
499504
Success: Network enabled the 'Starter-theme' theme.
500505
"""
501506
507+
@require-php-5.6
502508
Scenario: Scaffold starter code for a theme, but can't unzip theme files
503509
Given a WP install
504510
And a misconfigured WP_CONTENT_DIR constant directory

0 commit comments

Comments
 (0)