diff --git a/net/src/test/java/com/zfoo/net/core/http/HttpServerTest.java b/net/src/test/java/com/zfoo/net/core/http/HttpServerTest.java index bef4c2c9..72674d27 100644 --- a/net/src/test/java/com/zfoo/net/core/http/HttpServerTest.java +++ b/net/src/test/java/com/zfoo/net/core/http/HttpServerTest.java @@ -48,7 +48,7 @@ public class HttpServerTest { public DecodedPacketInfo apply(FullHttpRequest fullHttpRequest) { var uri = StringUtils.trim(fullHttpRequest.uri()); if (uri.equals("/hello")) { - return DecodedPacketInfo.valueOf(HttpHelloRequest.valueOf("aaa"), HttpAttachment.valueOf(fullHttpRequest, null)); + return DecodedPacketInfo.valueOf(HttpHelloRequest.valueOf("other param"), HttpAttachment.valueOf(fullHttpRequest, null)); } else { throw new RunException("未知的http路径[{}]", uri); }