Update src/test/java/com/kodekloud/hello_demo/HelloControllerTests.java

This commit is contained in:
Benjamin Tan 2025-12-12 18:33:31 +00:00
parent b18ee8c625
commit 545ded4e1d

View file

@ -60,7 +60,7 @@ public class HelloControllerTests {
public void welcome_startsWithExpectedGreeting() throws Exception {
mvc.perform(MockMvcRequestBuilders.get("/hello").accept(MediaType.APPLICATION_JSON))
.andExpect(status().isOk())
.andExpect(content().string(startsWith("Hola")));
.andExpect(content().string(startsWith("Hello")));
}