Skip to content

Commit c08364e

Browse files
schlesseraclaude
andcommitted
Use {PLUGIN_DIR} and {THEME_DIR} in tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 8f5999f commit c08364e

3 files changed

Lines changed: 0 additions & 6 deletions

File tree

‎features/plugin-update.feature‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ Feature: Update WordPress plugins
122122
@require-wp-5.2
123123
Scenario: Not giving a slug on update should throw an error unless --all given
124124
Given a WP install
125-
And I run `wp plugin path`
126-
And save STDOUT as {PLUGIN_DIR}
127125
And an empty {PLUGIN_DIR} directory
128126

129127
# No plugins installed. Don't give an error if --all given for BC.

‎features/plugin.feature‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ Feature: Manage WordPress plugins
22

33
Scenario: Create, activate and check plugin status
44
Given a WP install
5-
And I run `wp plugin path`
6-
And save STDOUT as {PLUGIN_DIR}
75

86
When I run `wp scaffold plugin --skip-tests plugin1`
97
Then STDOUT should not be empty

‎features/theme-update.feature‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ Feature: Update WordPress themes
3535
@require-wp-4.5
3636
Scenario: Not giving a slug on update should throw an error unless --all given
3737
Given a WP install
38-
And I run `wp theme path`
39-
And save STDOUT as {THEME_DIR}
4038
And an empty {THEME_DIR} directory
4139

4240
# No themes installed. Don't give an error if --all given for BC.

0 commit comments

Comments
 (0)