Skip to content

Commit 1a08367

Browse files
committed
Do not scaffold _s theme in test
1 parent 7caff13 commit 1a08367

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

features/theme-update.feature

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@ Feature: Update WordPress themes
33
Scenario: Updating a theme with no version in the WordPress.org directory shouldn't delete the original theme
44
Given a WP install
55

6-
When I run `wp scaffold underscores wpclitesttheme`
7-
Then STDOUT should contain:
8-
"""
9-
Success: Created theme
10-
"""
11-
And the wp-content/themes/wpclitesttheme directory should exist
6+
When I run `wp theme install twentytwelve --force`
7+
And I run `wp scaffold child-theme wpclitesttheme --parent_theme=twentytwelve`
8+
Then the wp-content/themes/wpclitesttheme directory should exist
129

1310
When I try `wp theme update wpclitesttheme --version=100.0.0`
1411
Then STDERR should contain:

0 commit comments

Comments
 (0)