Changeset 49491 for trunk/tests/phpunit/includes/bootstrap.php
- Timestamp:
- 11/03/2020 09:07:33 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/bootstrap.php
r49269 r49491 145 145 // Use the Spy REST Server instead of default. 146 146 tests_add_filter( 'wp_rest_server_class', '_wp_rest_server_class_filter' ); 147 // Prevent updating translations asynchronously. 148 tests_add_filter( 'async_update_translation', '__return_false' ); 149 // Disable background updates. 150 tests_add_filter( 'automatic_updater_disabled', '__return_true' ); 147 151 148 152 // Preset WordPress options defined in bootstrap file.
Note: See TracChangeset
for help on using the changeset viewer.