Skip to content

Commit

Permalink
fix: update behat test
Browse files Browse the repository at this point in the history
  • Loading branch information
kiranpotphode committed Jul 17, 2024
1 parent 7479aee commit aeee5ea
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions features/check-cache-flush.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@ Feature: Check if wp_cache_flush() function is used inside wp-content directory
"""

When I run `wp doctor check cache-flush`
Then STDOUT should be a table containing rows:
| name | status | message |
| cache-flush | warning | Use of wp_cache_flush() detected in mu-plugins/plugin.php |
Then STDOUT should contain:
"""
cache-flush
"""
And STDOUT should contain:
"""
warning
"""
And STDOUT should contain:
"""
Use of wp_cache_flush() detected
"""
And STDOUT should contain:
"""
mu-plugins/plugin.php
"""

0 comments on commit aeee5ea

Please sign in to comment.