This commit is contained in:
geek 2017-06-07 13:04:48 +09:00
parent 047d057541
commit 6638013189
3 changed files with 6 additions and 6 deletions

View File

@ -69,11 +69,11 @@ public class EmailAuth implements Serializable {
this.authToken = authToken;
}
public Boolean getInvalid() {
public Boolean getIsInvalid() {
return isInvalid;
}
public void setInvalid(Boolean invalid) {
public void setIsInvalid(Boolean invalid) {
isInvalid = invalid;
}

View File

@ -26,8 +26,8 @@ public class JPAEmailAuthDAOTest {
public void createEmailAuth() {
EmailAuth auth = new EmailAuth();
auth.setAuthToken("loafle.com/Auth111");
auth.setMember(new Member(Long.valueOf(1)));
auth.setAuthToken("0F2003A6-83B0-40F5-B56A-0485F458CA91");
auth.setMember(new Member(Long.valueOf(4)));
auth.setInvalid(false);
// auth.setUpdateDate(new Date());

View File

@ -30,12 +30,12 @@ public class JPAMemberDAOTest {
public void createMember() {
Member m = new Member();
m.setName("snnnnn");
m.setName("geek");
m.setCompany("loafle");
m.setDigest("bbbbbbbbb");
m.setPwSalt("salktttt");
m.setPhone("000-000-0000");
m.setEmail("ddddd@loafle.com");
m.setEmail("geek@loafle.com");
this.jpaMemberDAO.create(m);
}