Made tests less brittle

This commit is contained in:
Marcin Grzejszczak
2016-12-16 13:32:49 +01:00
parent 1b832b6029
commit 765e41d6c7

View File

@@ -54,7 +54,7 @@ public class Issue469Tests {
.getForObject("http://localhost:" + port() + "/welcome", String.class);
} catch (Exception e) {
// JSPs are not rendered
then(e).hasMessage("404 Not Found");
then(e).hasMessage("404");
}
then(ExceptionUtils.getLastException()).isNull();