From aeee5eaed1649931cd9c7beba8d12091ac9a7e79 Mon Sep 17 00:00:00 2001 From: Kiran Potphode Date: Wed, 17 Jul 2024 16:42:16 +0530 Subject: [PATCH] fix: update behat test --- features/check-cache-flush.feature | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/features/check-cache-flush.feature b/features/check-cache-flush.feature index 2f4eb00..a8652ab 100644 --- a/features/check-cache-flush.feature +++ b/features/check-cache-flush.feature @@ -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 + """