We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d809080 commit 4adc5dbCopy full SHA for 4adc5db
features/site-empty.feature
@@ -29,6 +29,21 @@ Feature: Empty a WordPress site of its data
29
Success: Created post_tag 2.
30
"""
31
32
+ When I run `wp post create --post_type=page --post_title='Sample Privacy Page' --post_content='Sample Privacy Terms' --porcelain`
33
+ Then save STDOUT as {PAGE_ID}
34
+
35
+ When I run `wp option set wp_page_for_privacy_policy {PAGE_ID}`
36
+ Then STDOUT should be:
37
+ """
38
+ Success: Updated 'wp_page_for_privacy_policy' option.
39
40
41
+ When I run `wp option get wp_page_for_privacy_policy`
42
43
44
+ {PAGE_ID}
45
46
47
When I run `wp site empty --yes`
48
Then STDOUT should be:
49
0 commit comments