-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce --per_page argument in signup list command
- Loading branch information
1 parent
5fd3657
commit 889336b
Showing
3 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,13 @@ Feature: Manage signups in a multisite installation | |
1,bobuser,[email protected],1 | ||
""" | ||
|
||
When I run `wp user signup list --fields=signup_id,user_login,user_email,active --format=csv --per_page=1` | ||
Then STDOUT should be: | ||
""" | ||
signup_id,user_login,user_email,active | ||
1,bobuser,[email protected],1 | ||
""" | ||
|
||
Scenario: Get signup | ||
Given a WP multisite install | ||
And I run `wp eval 'wpmu_signup_user( "bobuser", "[email protected]" );'` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters