From af36a690b152594643065c83e2482af740bfe1c7 Mon Sep 17 00:00:00 2001 From: snoop Date: Fri, 23 Jun 2017 14:39:29 +0900 Subject: [PATCH] added test --- .../module/noauthprobe/dao/NoAuthProbeDAOTest.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/test/java/com/loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAOTest.java b/src/test/java/com/loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAOTest.java index 6901ffa..3a4bbb6 100644 --- a/src/test/java/com/loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAOTest.java +++ b/src/test/java/com/loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAOTest.java @@ -62,4 +62,15 @@ public class NoAuthProbeDAOTest { } + @Test + public void update() { + + NoAuthProbe probe = this.noAuthProbeDAO.findByTempKey("1cf2555c57d511e79714080027658d13"); + + probe.setStatus(AuthType.ACCEPT); + + this.noAuthProbeDAO.save(probe); + + } + } \ No newline at end of file