From 29234a4f3df579c8591c5d6b3671b04943c79265 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Mon, 28 Oct 2024 14:48:14 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AF=BC=EC=9B=90=20=EB=AA=A9=EB=A1=9D/?= =?UTF-8?q?=EC=83=81=EC=84=B8=20=EC=A1=B0=ED=9A=8C=20=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xit/interfaces/saeol/service/bean/SaeolBeanTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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);