提交 eb466260 编写于 作者: C Chris Caspanello 提交者: Dave Syer

Fixes #89 - Fixed assertThat line which was always returning true

上级 7f802af0
......@@ -33,6 +33,6 @@ public class HelloControllerIT {
public void getHello() throws Exception {
ResponseEntity<String> response = template.getForEntity(base.toString(),
String.class);
assertThat(response.getBody().equals("Greetings from Spring Boot!"));
assertThat(response.getBody()).isEqualTo("Greetings from Spring Boot!");
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册