diff --git a/.env b/.env
index 63a8169f64..6aa4640c26 100644
a
|
b
|
LOCAL_PORT=8889 |
15 | 15 | LOCAL_DIR=src |
16 | 16 | |
17 | 17 | # The PHP version to use. Valid options are 'latest', and '{version}-fpm'. |
18 | | LOCAL_PHP=latest |
| 18 | LOCAL_PHP=8.2-fpm |
19 | 19 | |
20 | 20 | # Whether or not to enable Xdebug. |
21 | 21 | LOCAL_PHP_XDEBUG=false |
diff --git a/tests/phpunit/tests/functions.php b/tests/phpunit/tests/functions.php
index 14d2a26315..af08d96319 100644
a
|
b
|
class Tests_Functions extends WP_UnitTestCase { |
1420 | 1420 | |
1421 | 1421 | $expected = array( |
1422 | 1422 | 'ext' => 'woff', |
1423 | | 'type' => 'application/font-woff', |
| 1423 | 'type' => 'font/woff', |
1424 | 1424 | 'proper_filename' => false, |
1425 | 1425 | ); |
1426 | 1426 | |
… |
… |
class Tests_Functions extends WP_UnitTestCase { |
1437 | 1437 | } |
1438 | 1438 | |
1439 | 1439 | public function filter_mime_types_woff( $mimes ) { |
1440 | | $mimes['woff'] = 'application/font-woff'; |
| 1440 | $mimes['woff'] = 'font/woff'; |
1441 | 1441 | return $mimes; |
1442 | 1442 | } |
1443 | 1443 | |