Skip to content

Commit 7dd34a8

Browse files
schlesseraclaude
andauthored
Use {PLUGIN_DIR} and {THEME_DIR} in tests (#191)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent dfbbb07 commit 7dd34a8

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

‎features/language-plugin.feature‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,6 @@ Feature: Manage plugin translation files for a WordPress install
222222
@require-wp-4.0
223223
Scenario: Not providing plugin slugs should throw an error unless --all given
224224
Given a WP install
225-
And I run `wp plugin path`
226-
And save STDOUT as {PLUGIN_DIR}
227225

228226
When I try `wp language plugin list`
229227
Then the return code should be 1
@@ -397,8 +395,6 @@ Feature: Manage plugin translation files for a WordPress install
397395
@require-wp-4.0
398396
Scenario: Install translations for all installed plugins
399397
Given a WP install
400-
And I run `wp plugin path`
401-
And save STDOUT as {PLUGIN_DIR}
402398
And an empty {PLUGIN_DIR} directory
403399
And these installed plugins:
404400
"""

‎features/language-theme.feature‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,6 @@ Feature: Manage theme translation files for a WordPress install
180180
@require-wp-4.0
181181
Scenario: Not providing theme slugs should throw an error unless --all given
182182
Given a WP install
183-
And I run `wp theme path`
184-
And save STDOUT as {THEME_DIR}
185183

186184
When I try `wp language theme list`
187185
Then the return code should be 1
@@ -254,8 +252,6 @@ Feature: Manage theme translation files for a WordPress install
254252
@require-wp-4.0
255253
Scenario: Install translations for all installed themes
256254
Given a WP install
257-
And I run `wp theme path`
258-
And save STDOUT as {THEME_DIR}
259255
And an empty {THEME_DIR} directory
260256
And these installed themes:
261257
"""

0 commit comments

Comments
 (0)