Skip to content

Commit e579149

Browse files
Copilotswissspidy
andcommitted
test: add comma-separated --status test for wp theme list (closes #224)
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent de28cbc commit e579149

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

features/theme.feature

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,12 @@ Feature: Manage WordPress themes
826826
| twentyeleven | active |
827827
| twentytwelve | inactive |
828828

829+
When I run `wp theme list --status=active,inactive --fields=name,status`
830+
Then STDOUT should be a table containing rows:
831+
| name | status |
832+
| twentyeleven | active |
833+
| twentytwelve | inactive |
834+
829835
When I run `wp theme list --status=active --status=inactive --fields=name,status`
830836
Then STDOUT should be a table containing rows:
831837
| name | status |

0 commit comments

Comments
 (0)