mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-22 19:06:35 +00:00
forgot to stage this for b18bd4f33ce606ad594b56dd4785b650d21cd695
This commit is contained in:
parent
c66af4648c
commit
e82a40b2ba
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user