OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24e296d
)
add behat test for #862
author
scribu
<mail@scribu.net>
Sat, 9 Nov 2013 21:52:40 +0000
(23:52 +0200)
committer
scribu
<mail@scribu.net>
Sat, 9 Nov 2013 21:52:40 +0000
(23:52 +0200)
features/user.feature
patch
|
blob
|
history
diff --git
a/features/user.feature
b/features/user.feature
index
5f3319d
..
14ecdf1
100644
(file)
--- a/
features/user.feature
+++ b/
features/user.feature
@@
-4,6
+4,10
@@
Feature: Manage WordPress users
Given a WP install
Scenario: User CRUD operations
+ When I try `wp user get bogus-user`
+ Then the return code should be 1
+ And STDOUT should be empty
+
When I run `wp user create testuser testuser@example.com --porcelain`
Then STDOUT should be a number
And save STDOUT as {USER_ID}