Skip to content

Commit df5cf8c

Browse files
schlesseraclaude
andcommitted
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent f65bde8 commit df5cf8c

2 files changed

Lines changed: 13 additions & 9 deletions

File tree

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"wp-cli/extension-command": "^1.2 || ^2 || ^3",
2222
"wp-cli/import-command": "^1 || ^2 || ^3",
2323
"wp-cli/media-command": "^1 || ^2 || ^3",
24-
"wp-cli/wp-cli-tests": "^5"
24+
"wp-cli/wp-cli-tests": "dev-setup-commands-step as 5.3.99"
2525
},
2626
"config": {
2727
"process-timeout": 7200,

‎features/export.feature‎

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,8 +1166,10 @@ Feature: Export content.
11661166
Scenario: Export posts should not include oembed_cache posts user information
11671167
Given a WP install
11681168
And I run `wp plugin install wordpress-importer --activate`
1169-
And I run `wp user create user user@user.com --role=editor --display_name="Test User"`
1170-
And I run `wp user create oembed_cache_user oembed_cache@user.com --role=editor --display_name="Oembed User"`
1169+
And these setup commands:
1170+
| command |
1171+
| wp user create user user@user.com --role=editor --display_name="Test User" |
1172+
| wp user create oembed_cache_user oembed_cache@user.com --role=editor --display_name="Oembed User" |
11711173
And I run `wp post generate --post_type=post --count=10 --post_author=user`
11721174
And I run `wp post generate --post_type=oembed_cache --count=1 --post_author=oembed_cache_user`
11731175

@@ -1197,12 +1199,14 @@ Feature: Export content.
11971199
@require-wp-5.2
11981200
Scenario: Allow export to proceed when orphaned terms are found
11991201
Given a WP install
1200-
And I run `wp term create category orphan --parent=1`
1201-
And I run `wp term create category parent`
1202-
And I run `wp term create category child --parent=3`
1203-
And I run `wp term create post_tag atag`
1204-
And I run `wp term create post_tag btag`
1205-
And I run `wp term create post_tag ctag`
1202+
And these setup commands:
1203+
| command |
1204+
| wp term create category orphan --parent=1 |
1205+
| wp term create category parent |
1206+
| wp term create category child --parent=3 |
1207+
| wp term create post_tag atag |
1208+
| wp term create post_tag btag |
1209+
| wp term create post_tag ctag |
12061210
And I run `wp db query "DELETE FROM wp_terms WHERE term_id = 1"`
12071211

12081212
When I run `wp export --allow_orphan_terms`

0 commit comments

Comments
 (0)