mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
forgot to stage this for b18bd4f33c
This commit is contained in:
@ -47,7 +47,7 @@ class StupidJsonDecodeTest extends TestCase{
|
|||||||
* @throws \ReflectionException
|
* @throws \ReflectionException
|
||||||
*/
|
*/
|
||||||
public function testStupidJsonDecode(string $brokenJson, $expect){
|
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);
|
$func->setAccessible(true);
|
||||||
|
|
||||||
$decoded = $func->invoke(null, $brokenJson, true);
|
$decoded = $func->invoke(null, $brokenJson, true);
|
||||||
|
Reference in New Issue
Block a user