Skip to content

Commit 005cfac

Browse files
committed
Improve test to reflect updated message for widget delete
1 parent 9d7a197 commit 005cfac

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎features/widget.feature‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ Feature: Manage widgets in WordPress sidebar
5353
| recent-comments | recent-comments-2 | 2 |
5454

5555
When I run `wp widget delete archives-2 recent-posts-2`
56-
Then STDOUT should not be empty
56+
Then STDOUT should be:
57+
"""
58+
Success: 2 widgets removed from sidebar.
59+
"""
5760

5861
When I run `wp widget list sidebar-1 --fields=name,id,position`
5962
Then STDOUT should be a table containing rows:

0 commit comments

Comments
 (0)