Skip to content

Commit 71406b9

Browse files
committed
Add test
1 parent 4e156bc commit 71406b9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

features/plugin-auto-updates-status.feature

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,10 @@ Feature: Show the status of auto-updates for WordPress plugins
114114
hello,disabled
115115
duplicate-post,disabled
116116
"""
117+
118+
@require-wp-5.5
119+
Scenario: Handle malformed option value
120+
When I run `wp option update auto_update_plugins ""`
121+
When I try `wp plugin auto-updates status hello`
122+
Then the return code should be 0
123+
And STDERR should be empty

0 commit comments

Comments
 (0)