Skip to content

Commit d27b3b5

Browse files
authored
Improve tests to ensure caching works as expected
1 parent 19d26cc commit d27b3b5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

features/upgradables.feature

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,18 @@ Feature: Manage WordPress themes and plugins
223223
"""
224224
Plugin installed successfully
225225
"""
226+
And STDOUT should not contain:
227+
"""
228+
Using cached file '{SUITE_CACHE_DIR}/plugin/<item>-<version>
229+
"""
226230

227231
When I run `wp plugin delete --all`
228232
And I run `wp plugin install <zip_file>`
229233
Then STDOUT should contain:
234+
"""
235+
Plugin installed successfully
236+
"""
237+
And STDOUT should contain:
230238
"""
231239
Using cached file '{SUITE_CACHE_DIR}/plugin/<item>-<version>
232240
"""

0 commit comments

Comments
 (0)