Tests: Mock API response in Plugin Dependencies tests.
Previously, the tests for `WP_Plugin_Dependencies::get_dependency_names()` performed an API request to WordPress.org. If an HTTP failure occurred when connecting to WordPress.org, this could trigger test failures. This mocks the API response to prevent HTTP failures from triggering test failures. Follow-up to [57545]. Props swissspidy, peterwilsoncc, costdev. See #59647. Built from https://develop.svn.wordpress.org/trunk@57674 git-svn-id: http://core.svn.wordpress.org/trunk@57175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f99d9988f4
commit
754fa3b6f9
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.5-beta2-57673';
|
||||
$wp_version = '6.5-beta2-57674';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue