mirror of
git://develop.git.wordpress.org/
synced 2025-04-01 18:52:34 +02:00
* Refactors the mock logic to a helper function for reuse in multiple tests. * Mocks the remote request in `WP_REST_Block_Directory_Controller_Test:: test_get_items_no_results()` using the mock helper. Follow-up to [48242], [52137]. Props hellofromTonya, sergeybiryukov. See #54420. git-svn-id: https://develop.svn.wordpress.org/trunk@52146 602fd350-edb4-49c9-b593-d223f7449a82