Skip to content
Snippets Groups Projects
Commit c177c6af authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

feature(readme): readme

parent dd741a24
No related branches found
No related tags found
1 merge request!22Feature/readme
Pipeline #11481 passed
......@@ -44,6 +44,9 @@ class TestAjaxHandler extends WP_UnitTestCase
{
$ajaxHandler = new AjaxHandler(self::ASSETS_URL);
$ajaxHandler->hooks();
global $current_screen;
$current_screen = new stdClass();
$current_screen->id = 'test';
do_action('admin_enqueue_scripts');
$registeredScripts = wp_scripts()->registered;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment