From d1f5269181696c30516904aa67d0d5992bde4d33 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Sat, 23 Nov 2024 13:28:28 +0100 Subject: [PATCH] Update assertion --- features/core-update.feature | 50 +++++------------------------------- 1 file changed, 6 insertions(+), 44 deletions(-) diff --git a/features/core-update.feature b/features/core-update.feature index 2792ae69..9cd7f689 100644 --- a/features/core-update.feature +++ b/features/core-update.feature @@ -274,6 +274,10 @@ Feature: Update WordPress core Then the wp-includes/Requests/src/Exception/Transport/Curl.php file should not exist Then the wp-includes/Requests/src/Exception/Http/Status502.php file should not exist Then the wp-includes/Requests/src/Iri.php file should not exist + And STDOUT should contain: + """ + Cleaning up files... + """ And STDOUT should contain: """ Success: WordPress updated successfully. @@ -288,51 +292,9 @@ Feature: Update WordPress core Then the wp-includes/Requests/src/Exception/Transport/Curl.php file should exist Then the wp-includes/Requests/src/Exception/Http/Status502.php file should exist Then the wp-includes/Requests/src/Iri.php file should exist - Then STDOUT should contain: + And STDOUT should contain: """ - File removed: wp-includes/Requests/Transport/fsockopen.php - File removed: wp-includes/Requests/Transport/cURL.php - File removed: wp-includes/Requests/Hooker.php - File removed: wp-includes/Requests/IPv6.php - File removed: wp-includes/Requests/Exception/Transport/cURL.php - File removed: wp-includes/Requests/Exception/HTTP.php - File removed: wp-includes/Requests/Exception/HTTP/502.php - File removed: wp-includes/Requests/Exception/HTTP/Unknown.php - File removed: wp-includes/Requests/Exception/HTTP/412.php - File removed: wp-includes/Requests/Exception/HTTP/408.php - File removed: wp-includes/Requests/Exception/HTTP/431.php - File removed: wp-includes/Requests/Exception/HTTP/501.php - File removed: wp-includes/Requests/Exception/HTTP/500.php - File removed: wp-includes/Requests/Exception/HTTP/407.php - File removed: wp-includes/Requests/Exception/HTTP/416.php - File removed: wp-includes/Requests/Exception/HTTP/428.php - File removed: wp-includes/Requests/Exception/HTTP/406.php - File removed: wp-includes/Requests/Exception/HTTP/504.php - File removed: wp-includes/Requests/Exception/HTTP/411.php - File removed: wp-includes/Requests/Exception/HTTP/414.php - File removed: wp-includes/Requests/Exception/HTTP/511.php - File removed: wp-includes/Requests/Exception/HTTP/410.php - File removed: wp-includes/Requests/Exception/HTTP/403.php - File removed: wp-includes/Requests/Exception/HTTP/400.php - File removed: wp-includes/Requests/Exception/HTTP/505.php - File removed: wp-includes/Requests/Exception/HTTP/413.php - File removed: wp-includes/Requests/Exception/HTTP/404.php - File removed: wp-includes/Requests/Exception/HTTP/306.php - File removed: wp-includes/Requests/Exception/HTTP/304.php - File removed: wp-includes/Requests/Exception/HTTP/405.php - File removed: wp-includes/Requests/Exception/HTTP/429.php - File removed: wp-includes/Requests/Exception/HTTP/417.php - File removed: wp-includes/Requests/Exception/HTTP/409.php - File removed: wp-includes/Requests/Exception/HTTP/402.php - File removed: wp-includes/Requests/Exception/HTTP/418.php - File removed: wp-includes/Requests/Exception/HTTP/305.php - File removed: wp-includes/Requests/Exception/HTTP/415.php - File removed: wp-includes/Requests/Exception/HTTP/401.php - File removed: wp-includes/Requests/Exception/HTTP/503.php - File removed: wp-includes/Requests/IRI.php - File removed: wp-includes/Requests/IDNAEncoder.php - File removed: wp-includes/Requests/SSL.php - File removed: wp-includes/Requests/Proxy/HTTP.php + Cleaning up files... """ When I run `wp option add str_opt 'bar'`