Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion features/export.feature
Original file line number Diff line number Diff line change
Expand Up @@ -392,13 +392,15 @@ Feature: Export content.

Scenario: Exclude a specific post type from export
Given a WP install
And I run `wp site empty --yes`
And I run `wp post create --post_title="Some page" --post_type=page`
And I run `wp post generate --post_type=post --count=10`
And I run `wp plugin install wordpress-importer --activate`

When I run `wp post list --post_type=any --format=count`
Then STDOUT should be:
"""
12
11
"""

When I run `wp export --post_type__not_in=post`
Expand Down