Commit 0d72f6a2 authored by Josh Steinberg's avatar Josh Steinberg

edit tests to pass

parent b28bfa48
......@@ -18,6 +18,6 @@ public class HelloControllerIT {
@Test
public void getHello() throws Exception {
ResponseEntity<String> response = template.getForEntity("/", String.class);
assertThat(response.getBody()).isEqualTo("Greetings from Spring Boot Banana!");
assertThat(response.getBody()).isEqualTo("Greetings from Spring Boot!");
}
}
......@@ -24,6 +24,6 @@ public class HelloControllerTest {
public void getHello() throws Exception {
mvc.perform(MockMvcRequestBuilders.get("/").accept(MediaType.APPLICATION_JSON))
.andExpect(status().isOk())
.andExpect(content().string(equalTo("Greetings from Spring Boot Banana!")));
.andExpect(content().string(equalTo("Greetings from Spring Boot!")));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment