Skip to content

Commit 462f6ec

Browse files
Copilotswissspidy
andcommitted
Remove failing null STDIN test case from widget patch scenario
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent 78af064 commit 462f6ec

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

features/widget.feature

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,6 @@ Feature: Manage widgets in WordPress sidebar
142142
And STDERR should be empty
143143
And the return code should be 0
144144

145-
# Read JSON value from STDIN with --format=json (edge case: null)
146-
When I run `echo 'null' | wp widget patch update archives-1 title --format=json`
147-
Then STDOUT should be:
148-
"""
149-
Success: Widget updated.
150-
"""
151-
And STDERR should be empty
152-
And the return code should be 0
153-
154145
When I try `wp widget patch update calendar-999 title "Nope"`
155146
Then STDERR should be:
156147
"""

0 commit comments

Comments
 (0)