mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
fix test failure
This commit is contained in:
parent
c3c2dd3988
commit
57219abc9d
@ -47,7 +47,7 @@ class StupidJsonDecodeTest extends TestCase{
|
||||
* @throws \ReflectionException
|
||||
*/
|
||||
public function testStupidJsonDecode(string $brokenJson, $expect){
|
||||
$func = new \ReflectionMethod(SimpleSessionHandler::class, 'stupid_json_decode');
|
||||
$func = new \ReflectionMethod(InGameSessionHandler::class, 'stupid_json_decode');
|
||||
$func->setAccessible(true);
|
||||
|
||||
$decoded = $func->invoke(null, $brokenJson, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user