From a5cccf9217c8b4cc032ca5ad204a663dc2359ea3 Mon Sep 17 00:00:00 2001 From: ryuring Date: Mon, 25 Nov 2024 18:55:03 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A4=E3=83=99=E3=83=B3=E3=83=88=E3=81=AE?= =?UTF-8?q?=E3=82=AA=E3=83=B3=E3=82=AA=E3=83=95=E3=82=92=E8=A1=8C=E3=81=86?= =?UTF-8?q?=E9=9A=9B=E3=81=AB=E3=82=B0=E3=83=AD=E3=83=BC=E3=83=90=E3=83=AB?= =?UTF-8?q?=E3=82=A4=E3=83=99=E3=83=B3=E3=83=88=E3=83=9E=E3=83=8D=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=83=A3=E3=83=BC=E3=82=92=E6=8C=87=E5=AE=9A=E3=81=97?= =?UTF-8?q?=E3=81=9F=E5=A0=B4=E5=90=88=E3=81=AB=E4=BE=8B=E5=A4=96=E3=82=92?= =?UTF-8?q?=E6=8A=95=E3=81=92=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E5=A4=89?= =?UTF-8?q?=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 処理がループしてしまうため --- plugins/baser-core/tests/TestCase/Utility/BcUtilTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/baser-core/tests/TestCase/Utility/BcUtilTest.php b/plugins/baser-core/tests/TestCase/Utility/BcUtilTest.php index 326ad66a0c..1c8bd095de 100644 --- a/plugins/baser-core/tests/TestCase/Utility/BcUtilTest.php +++ b/plugins/baser-core/tests/TestCase/Utility/BcUtilTest.php @@ -1206,7 +1206,7 @@ public static function fgetcsvRegDataProvider() */ public function testOnEventOffEvent(): void { - $eventManager = EventManager::instance(); + $eventManager = new EventManager(); $eventKey = 'testOnEvent'; $bcEvenListener = new class extends BcEventListener { public $events = ['event1'];