From dcfce088509ae2958f3015a1f0145081a35502b1 Mon Sep 17 00:00:00 2001
From: Grzegorz Rola <grola@seostudio.pl>
Date: Thu, 9 Jun 2022 14:59:09 +0200
Subject: [PATCH] feature(readme): readme

---
 tests/integration/TestAjaxHandler.php | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/integration/TestAjaxHandler.php b/tests/integration/TestAjaxHandler.php
index 2f7ee00..f930d5c 100644
--- a/tests/integration/TestAjaxHandler.php
+++ b/tests/integration/TestAjaxHandler.php
@@ -44,9 +44,6 @@ 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;
 
-- 
GitLab