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