@@ -259,7 +259,7 @@ Feature: Update WordPress core
259259 When I run `wp post create --post_title='Test post' --porcelain`
260260 Then STDOUT should be a number
261261
262- # This test downgrades to an older WordPress version, but the SQLite plugin requires 6.0 +
262+ # This test downgrades to an older WordPress version, but the SQLite plugin requires 6.4 +
263263 @require-mysql
264264 Scenario : Make sure files are cleaned up with mixed case
265265 Given a WP install
@@ -270,69 +270,31 @@ Feature: Update WordPress core
270270 Then the wp-includes/Requests/Exception/Transport/cURL.php file should exist
271271 Then the wp-includes/Requests/Exception/HTTP/502.php file should exist
272272 Then the wp-includes/Requests/IRI.php file should exist
273- Then the wp-includes/Requests/Transport/Curl.php file should not exist
274- Then the wp-includes/Requests/Exception/Transport/Curl.php file should not exist
275- Then the wp-includes/Requests/Exception/Http/Status502.php file should not exist
276- Then the wp-includes/Requests/Iri.php file should not exist
273+ Then the wp-includes/Requests/src/Transport/Curl.php file should not exist
274+ Then the wp-includes/Requests/src/Exception/Transport/Curl.php file should not exist
275+ Then the wp-includes/Requests/src/Exception/Http/Status502.php file should not exist
276+ Then the wp-includes/Requests/src/Iri.php file should not exist
277+ And STDOUT should contain:
278+ """
279+ Cleaning up files...
280+ """
277281 And STDOUT should contain:
278282 """
279283 Success: WordPress updated successfully.
280284 """
281285
282- When I run `wp core update --version=5.9-beta1 --force`
286+ When I run `wp core update --version=6.2 --force`
283287 Then the wp-includes/Requests/Transport/cURL.php file should not exist
284288 Then the wp-includes/Requests/Exception/Transport/cURL.php file should not exist
285289 Then the wp-includes/Requests/Exception/HTTP/502.php file should not exist
286290 Then the wp-includes/Requests/IRI.php file should not exist
287- Then the wp-includes/Requests/Transport/Curl.php file should exist
288- Then the wp-includes/Requests/Exception/Transport/Curl.php file should exist
289- Then the wp-includes/Requests/Exception/Http/Status502.php file should exist
290- Then the wp-includes/Requests/Iri.php file should exist
291- Then STDOUT should contain:
291+ Then the wp-includes/Requests/src/ Transport/Curl.php file should exist
292+ Then the wp-includes/Requests/src/ Exception/Transport/Curl.php file should exist
293+ Then the wp-includes/Requests/src/ Exception/Http/Status502.php file should exist
294+ Then the wp-includes/Requests/src/ Iri.php file should exist
295+ And STDOUT should contain:
292296 """
293- File removed: wp-includes/Requests/Transport/fsockopen.php
294- File removed: wp-includes/Requests/Transport/cURL.php
295- File removed: wp-includes/Requests/Hooker.php
296- File removed: wp-includes/Requests/IPv6.php
297- File removed: wp-includes/Requests/Exception/Transport/cURL.php
298- File removed: wp-includes/Requests/Exception/HTTP.php
299- File removed: wp-includes/Requests/Exception/HTTP/502.php
300- File removed: wp-includes/Requests/Exception/HTTP/Unknown.php
301- File removed: wp-includes/Requests/Exception/HTTP/412.php
302- File removed: wp-includes/Requests/Exception/HTTP/408.php
303- File removed: wp-includes/Requests/Exception/HTTP/431.php
304- File removed: wp-includes/Requests/Exception/HTTP/501.php
305- File removed: wp-includes/Requests/Exception/HTTP/500.php
306- File removed: wp-includes/Requests/Exception/HTTP/407.php
307- File removed: wp-includes/Requests/Exception/HTTP/416.php
308- File removed: wp-includes/Requests/Exception/HTTP/428.php
309- File removed: wp-includes/Requests/Exception/HTTP/406.php
310- File removed: wp-includes/Requests/Exception/HTTP/504.php
311- File removed: wp-includes/Requests/Exception/HTTP/411.php
312- File removed: wp-includes/Requests/Exception/HTTP/414.php
313- File removed: wp-includes/Requests/Exception/HTTP/511.php
314- File removed: wp-includes/Requests/Exception/HTTP/410.php
315- File removed: wp-includes/Requests/Exception/HTTP/403.php
316- File removed: wp-includes/Requests/Exception/HTTP/400.php
317- File removed: wp-includes/Requests/Exception/HTTP/505.php
318- File removed: wp-includes/Requests/Exception/HTTP/413.php
319- File removed: wp-includes/Requests/Exception/HTTP/404.php
320- File removed: wp-includes/Requests/Exception/HTTP/306.php
321- File removed: wp-includes/Requests/Exception/HTTP/304.php
322- File removed: wp-includes/Requests/Exception/HTTP/405.php
323- File removed: wp-includes/Requests/Exception/HTTP/429.php
324- File removed: wp-includes/Requests/Exception/HTTP/417.php
325- File removed: wp-includes/Requests/Exception/HTTP/409.php
326- File removed: wp-includes/Requests/Exception/HTTP/402.php
327- File removed: wp-includes/Requests/Exception/HTTP/418.php
328- File removed: wp-includes/Requests/Exception/HTTP/305.php
329- File removed: wp-includes/Requests/Exception/HTTP/415.php
330- File removed: wp-includes/Requests/Exception/HTTP/401.php
331- File removed: wp-includes/Requests/Exception/HTTP/503.php
332- File removed: wp-includes/Requests/IRI.php
333- File removed: wp-includes/Requests/IDNAEncoder.php
334- File removed: wp-includes/Requests/SSL.php
335- File removed: wp-includes/Requests/Proxy/HTTP.php
297+ Cleaning up files...
336298 """
337299
338300 When I run `wp option add str_opt 'bar' `
0 commit comments