diff --git a/src/test/java/cokr/xit/interfaces/saeol/service/bean/SaeolBeanTest.java b/src/test/java/cokr/xit/interfaces/saeol/service/bean/SaeolBeanTest.java index 70e39c3..1dcddcc 100644 --- a/src/test/java/cokr/xit/interfaces/saeol/service/bean/SaeolBeanTest.java +++ b/src/test/java/cokr/xit/interfaces/saeol/service/bean/SaeolBeanTest.java @@ -38,7 +38,7 @@ public class SaeolBeanTest extends TestSupport { String str = read("example/SOHNN00004/2024102316211251623987173.xml"); minwonBean.parseResponse(msg, str); SOHNN00004.Resp00004 resp = msg.getResponse(); - minwonBean.save(resp); + minwonBean.save(msg); resp.getResult().forEach(item -> Assertions.assertEquals(SOHNN00004.Item.GET, item.getDetail())); String msg_key = resp.header().getMsgKey(); @@ -47,11 +47,11 @@ public class SaeolBeanTest extends TestSupport { Assertions.assertEquals(size, list.size()); list.forEach(System.out::println); - minwonBean.save(resp); + minwonBean.save(msg); resp.getResult().forEach(item -> Assertions.assertEquals(SOHNN00004.Item.NONE, item.getDetail())); resp.getResult().forEach(item -> item.setUsr_nm("새 사용자")); - minwonBean.save(resp); + minwonBean.save(msg); resp.getResult().forEach(item -> Assertions.assertEquals(SOHNN00004.Item.UPDATE, item.getDetail())); if (tearDown) { @@ -72,7 +72,7 @@ public class SaeolBeanTest extends TestSupport { String str = read("example/SOHNN00011/2024102316211329159369198.xml"); minwonBean.parseResponse(msg, str); SOHNN00011.Resp00011 resp = msg.getResponse(); - minwonBean.save(resp, detail); + minwonBean.save(msg, detail); String msgKey = resp.header().getMsgKey(); DataObject dataobject = testMapper.execSelect("SELECT * FROM TB_SOHNN00011 WHERE MSG_KEY = '" + msgKey + "'").get(0);