@@ -1193,8 +1193,10 @@ Feature: Export content.
11931193 """
11941194 wordpress-importer
11951195 """
1196- And I run `wp user create user user@user.com --role=editor --display_name="Test User" `
1197- And I run `wp user create oembed_cache_user oembed_cache@user.com --role=editor --display_name="Oembed User" `
1196+ And these setup commands:
1197+ | command |
1198+ | wp user create user user @user .com --role =editor --display_name ="Test User " |
1199+ | wp user create oembed_cache_user oembed_cache @user .com --role =editor --display_name ="Oembed User " |
11981200 And I run `wp post generate --post_type=post --count=10 --post_author=user`
11991201 And I run `wp post generate --post_type=oembed_cache --count=1 --post_author=oembed_cache_user`
12001202
@@ -1224,12 +1226,14 @@ Feature: Export content.
12241226 @require-wp-5.2
12251227 Scenario : Allow export to proceed when orphaned terms are found
12261228 Given a WP install
1227- And I run `wp term create category orphan --parent=1`
1228- And I run `wp term create category parent`
1229- And I run `wp term create category child --parent=3`
1230- And I run `wp term create post_tag atag`
1231- And I run `wp term create post_tag btag`
1232- And I run `wp term create post_tag ctag`
1229+ And these setup commands:
1230+ | command |
1231+ | wp term create category orphan --parent =1 |
1232+ | wp term create category parent |
1233+ | wp term create category child --parent =3 |
1234+ | wp term create post_tag atag |
1235+ | wp term create post_tag btag |
1236+ | wp term create post_tag ctag |
12331237 And I run `wp db query "DELETE FROM wp_terms WHERE term_id = 1" `
12341238
12351239 When I run `wp export --allow_orphan_terms`
0 commit comments