Skip to content

Commit d809080

Browse files
committed
Add test to verify wp_page_for_privacy_policy value after site empty
1 parent 29b7d07 commit d809080

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

features/site-empty.feature

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ Feature: Empty a WordPress site of its data
4242
When I run `wp term list post_tag --format=ids`
4343
Then STDOUT should be empty
4444

45+
When I run `wp option get wp_page_for_privacy_policy`
46+
Then STDOUT should be:
47+
"""
48+
0
49+
"""
50+
4551
Scenario: Empty a site and its uploads directory
4652
Given a WP multisite installation
4753
And I run `wp site create --slug=foo`

0 commit comments

Comments
 (0)