X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fservicestub%2Fsrc%2Ftest%2Fjava%2Forg%2Foran%2Fhelloworld%2Frest%2FHelloWorldControllerTest.java;fp=test%2Fservicestub%2Fsrc%2Ftest%2Fjava%2Forg%2Foran%2Fhelloworld%2Frest%2FHelloWorldControllerTest.java;h=36f335f4c21ac67f57db103a72a6ee54ce09b158;hb=3c504be356d2ac9fc5195eb45692e1b756caa9f3;hp=0d29c8bdb2519f3af8fb69e1e278f54e25bebb38;hpb=17735a3d78a7842697a2645b99ab01f777fdb172;p=nonrtric.git diff --git a/test/servicestub/src/test/java/org/oran/helloworld/rest/HelloWorldControllerTest.java b/test/servicestub/src/test/java/org/oran/helloworld/rest/HelloWorldControllerTest.java index 0d29c8bd..36f335f4 100644 --- a/test/servicestub/src/test/java/org/oran/helloworld/rest/HelloWorldControllerTest.java +++ b/test/servicestub/src/test/java/org/oran/helloworld/rest/HelloWorldControllerTest.java @@ -43,7 +43,7 @@ public class HelloWorldControllerTest { public void testHelloWorldEndpoint() throws Exception { when(helloWorldController.helloWorld()).thenReturn("Hello World from service stub\n"); - mockMvc.perform(get("/helloworld")) + mockMvc.perform(get("/v1/helloworld")) .andExpect(status().isOk()) .andExpect(content().string("Hello World from service stub\n")); } @@ -52,7 +52,7 @@ public class HelloWorldControllerTest { public void testHelloWorldSmeEndpoint() throws Exception { when(helloWorldController.helloWorldSme()).thenReturn("Hello World from SME\n"); - mockMvc.perform(get("/helloworld/sme")) + mockMvc.perform(get("/v1/helloworld/sme")) .andExpect(status().isOk()) .andExpect(content().string("Hello World from SME\n")); }