Skip to content

Commit 15dbfde

Browse files
Nikschavanschlessera
authored andcommitted
Correctly assert that the transient is being deleted
1 parent 4a6f7c7 commit 15dbfde

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

features/plugin.feature

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,9 @@ Feature: Manage WordPress plugins
357357

358358
When I run `wp transient delete update_themes --network`
359359
Then STDOUT should contain:
360-
Success: Transient deleted.
360+
"""
361+
Success: Transient deleted.
362+
"""
361363

362364
When I run `wp plugin list --fields=name,status,update --skip-update-check`
363365
Then STDOUT should be table containing rows:

features/theme.feature

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,9 @@ Feature: Manage WordPress themes
194194
195195
When I run `wp transient delete update_themes --network`
196196
Then STDOUT should contain:
197-
Success: Transient deleted.
197+
"""
198+
Success: Transient deleted.
199+
"""
198200
199201
When I run `wp theme list --fields=name,status,update --skip-update-check`
200202
Then STDOUT should be table containing rows:

0 commit comments

Comments
 (0)