Update src/test/java/com/kodekloud/hello_demo/HelloControllerTests.java
This commit is contained in:
parent
b18ee8c625
commit
545ded4e1d
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ public class HelloControllerTests {
|
||||||
public void welcome_startsWithExpectedGreeting() throws Exception {
|
public void welcome_startsWithExpectedGreeting() throws Exception {
|
||||||
mvc.perform(MockMvcRequestBuilders.get("/hello").accept(MediaType.APPLICATION_JSON))
|
mvc.perform(MockMvcRequestBuilders.get("/hello").accept(MediaType.APPLICATION_JSON))
|
||||||
.andExpect(status().isOk())
|
.andExpect(status().isOk())
|
||||||
.andExpect(content().string(startsWith("Hola")));
|
.andExpect(content().string(startsWith("Hello")));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue