From 0257b70c5105da3d5cb4c95b80862b73acdcb965 Mon Sep 17 00:00:00 2001 From: insanity Date: Tue, 6 Jun 2017 19:21:52 +0900 Subject: [PATCH] 1.0.0-SNAPSHOT --- .../loafle/overflow/email/dao/JPAEmailAuthDAOTest.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/test/java/com/loafle/overflow/email/dao/JPAEmailAuthDAOTest.java b/src/test/java/com/loafle/overflow/email/dao/JPAEmailAuthDAOTest.java index e655771..9c267bb 100644 --- a/src/test/java/com/loafle/overflow/email/dao/JPAEmailAuthDAOTest.java +++ b/src/test/java/com/loafle/overflow/email/dao/JPAEmailAuthDAOTest.java @@ -3,13 +3,15 @@ package com.loafle.overflow.email.dao; import com.loafle.overflow.email.model.EmailAuth; import com.loafle.overflow.member.model.Member; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; -import static org.junit.Assert.*; +import java.util.Date; /** * Created by root on 17. 6. 6. */ +@Ignore public class JPAEmailAuthDAOTest { private JPAEmailAuthDAO emailAuthDAO = null; @@ -25,9 +27,11 @@ public class JPAEmailAuthDAOTest { EmailAuth auth = new EmailAuth(); auth.setAuthToken("loafle.com/Auth"); - auth.setMember(new Member((long)1)); + auth.setMember(new Member(Long.valueOf(1))); auth.setInvalid(false); + auth.setUpdateDate(new Date()); - this.emailAuthDAO.create(auth); + EmailAuth ret = emailAuthDAO.create(auth); + System.out.println(ret.getId()); } } \ No newline at end of file