Skip to content

Commit 184e36b

Browse files
committed
adjust test of toNotification function to account for new expected data format
Signed-off-by: kelaompachai <141376761+kelaompachai@users.noreply.github.com>
1 parent 86cd81b commit 184e36b

2 files changed

Lines changed: 1120 additions & 1121 deletions

File tree

server/test/com/mirth/connect/client/core/ConnectServiceUtilTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,6 @@ public void test_notificationInfo() throws Exception {
186186
assertEquals(orig.get("id").asInt(), (int)created.getId());
187187
assertEquals(orig.get("name").asText(), created.getName());
188188
assertEquals(orig.get("published_at").asText(), created.getDate());
189-
assertNotNull(created.getContent());
189+
assertEquals(orig.get("body_html").asText(), created.getContent());
190190
}
191191
}

0 commit comments

Comments
 (0)