diff --git a/test/ParserTest.php b/test/ParserTest.php index 36e2521..8f4fd84 100644 --- a/test/ParserTest.php +++ b/test/ParserTest.php @@ -194,7 +194,7 @@ public function provideParserData(): array // 45 ---- pong frame with invalid payload ------------------------------------------------> $input = compile(Opcode::PONG, true, true, "0"); - $return[] = [$input, null, true, "Invalid pong payload", Code::POLICY_VIOLATION]; + $return[] = [$input, null, true, "Underlying TCP connection closed", Code::ABNORMAL_CLOSE]; // x -------------------------------------------------------------------------------------->