Closes gh-8076
This commit is contained in:
Johnny Lim
2017-01-24 20:39:36 +09:00
committed by Stephane Nicoll
parent b00d1e59f4
commit e0de28a1f7
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"))