This is an automated email from the ASF dual-hosted git repository. yhs0092 pushed a commit to branch 2.9.x in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git
commit 5a4c6d68add79ec0a49b5452924e277b8ac31179 Author: chengyouling <[email protected]> AuthorDate: Tue Jun 23 08:54:58 2026 +0800 fixed test --- .../src/test/java/io/vertx/ext/web/impl/TestHttpServerRequestUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/foundations/foundation-vertx/src/test/java/io/vertx/ext/web/impl/TestHttpServerRequestUtils.java b/foundations/foundation-vertx/src/test/java/io/vertx/ext/web/impl/TestHttpServerRequestUtils.java index 7297a866b..4158740fb 100644 --- a/foundations/foundation-vertx/src/test/java/io/vertx/ext/web/impl/TestHttpServerRequestUtils.java +++ b/foundations/foundation-vertx/src/test/java/io/vertx/ext/web/impl/TestHttpServerRequestUtils.java @@ -36,6 +36,7 @@ public class TestHttpServerRequestUtils { HttpServerRequestInternal request = Mockito.mock(HttpServerRequestInternal.class); HttpServerRequestWrapper wrapper = new HttpServerRequestWrapper(request, AllowForwardHeaders.NONE, null); Mockito.when(request.scheme()).thenReturn("http"); + Mockito.when(request.uri()).thenReturn("http://localhost:8080"); Mockito.when(context.request()).thenReturn(wrapper); Mockito.when(request.authority()).thenReturn(HostAndPort.create("localhost", 8080)); RequestBody requestBody = Mockito.mock(RequestBody.class);
