Skip to content

Commit 6ae80e3

Browse files
committed
Tests: Silence Requests deprecation
1 parent 869d8ce commit 6ae80e3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎features/core-update.feature‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,12 @@ Feature: Update WordPress core
263263
@require-mysql
264264
Scenario: Make sure files are cleaned up with mixed case
265265
Given a WP install
266+
And a wp-content/mu-plugins/silence-requests-deprecation.php file:
267+
"""
268+
<?php
269+
define( 'REQUESTS_SILENCE_PSR0_DEPRECATIONS', true );
270+
"""
271+
266272
And I try `wp theme install twentytwenty --activate`
267273

268274
When I run `wp core update --version=5.8 --force`

0 commit comments

Comments
 (0)