Closed bobbingwide closed 4 years ago
There are also cases where the tests fail with PHP 7.4, which may require fixes to the code as well as the tests. e.g.
There was 1 error:
1) Tests_oik_admin::test_oik_plugins_add_settings
Trying to access array offset on value of type null
C:\apache\htdocs\wordpress\wp-content\plugins\oik\libs\oik_plugins.php:290
C:\apache\htdocs\wordpress\wp-content\plugins\oik\tests\test-oik-admin.php:403
oik 4.1.0 delivered, tests completed
Some changes in WordPress 5.5 affect the generated HTML. Some of the PHPUnit tests will need to be changed to reflect the changes to the generated HTML.
e.g. Added
id='script-js'
to the JavaScript<script>
tags