@@ -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