Merge branch '1.5.x'

This commit is contained in:
Stephane Nicoll
2017-01-24 13:23:06 +01:00
7 changed files with 9 additions and 10 deletions

View File

@@ -83,7 +83,6 @@ public class AuditEventTests {
Collections.singletonMap("type", (Object) "BadCredentials"));
String json = Jackson2ObjectMapperBuilder.json().build()
.writeValueAsString(event);
System.out.println(json);
JSONObject jsonObject = new JSONObject(json);
assertThat(jsonObject.getString("type")).isEqualTo("UNKNOWN");
assertThat(jsonObject.getJSONObject("data").getString("type"))