diff --git a/tests/phpunit/network/mcpe/handler/StupidJsonDecodeTest.php b/tests/phpunit/network/mcpe/handler/StupidJsonDecodeTest.php index a18319a89..2c3900330 100644 --- a/tests/phpunit/network/mcpe/handler/StupidJsonDecodeTest.php +++ b/tests/phpunit/network/mcpe/handler/StupidJsonDecodeTest.php @@ -47,7 +47,7 @@ class StupidJsonDecodeTest extends TestCase{ * @throws \ReflectionException */ public function testStupidJsonDecode(string $brokenJson, $expect){ - $func = new \ReflectionMethod(InGameSessionHandler::class, 'stupid_json_decode'); + $func = new \ReflectionMethod(InGamePacketHandler::class, 'stupid_json_decode'); $func->setAccessible(true); $decoded = $func->invoke(null, $brokenJson, true);