- Timestamp:
- 09/24/2024 07:33:55 AM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/interactivity-api/wpInteractivityAPI.php
r58825 r59083 213 213 214 214 /** 215 * Test that the deprecated register_script_modules method is deprecated but does not throw. 216 * 217 * @ticket 60647 218 * 219 * @expectedDeprecated WP_Interactivity_API::register_script_modules 220 */ 221 public function test_register_script_modules_deprecated() { 222 $this->interactivity->register_script_modules(); 223 } 224 225 /** 215 226 * Sets up an activity, runs an optional callback, and returns a MockAction for inspection. 216 227 * … … 222 233 private function get_script_data_filter_result( ?Closure $callback = null ): MockAction { 223 234 $this->interactivity->add_hooks(); 224 $this->interactivity->register_script_modules();225 235 wp_enqueue_script_module( '@wordpress/interactivity' ); 226 236 $filter = new MockAction();
Note: See TracChangeset
for help on using the changeset viewer.