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

feature(readme): readme

parent dcfce088
No related branches found
No related tags found
No related merge requests found
Pipeline #11625 failed with stages
in 5 minutes and 38 seconds
......@@ -42,6 +42,10 @@ class TestAjaxHandler extends WP_UnitTestCase
public function testEnqueueAdminScripts()
{
$screen = get_current_screen();
if ( !isset( $screen->id ) ) {
$screen->id = 'test';
}
$ajaxHandler = new AjaxHandler(self::ASSETS_URL);
$ajaxHandler->hooks();
do_action('admin_enqueue_scripts');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment