diff --git a/src/test/java/com/loafle/overflow/module/apikey/dao/ApiKeyDAOTest.java b/src/test/java/com/loafle/overflow/module/apikey/dao/ApiKeyDAOTest.java index e7dca0c..fe635f3 100644 --- a/src/test/java/com/loafle/overflow/module/apikey/dao/ApiKeyDAOTest.java +++ b/src/test/java/com/loafle/overflow/module/apikey/dao/ApiKeyDAOTest.java @@ -3,7 +3,7 @@ package com.loafle.overflow.module.apikey.dao; import com.loafle.overflow.AppConfig; import com.loafle.overflow.JdbcConfiguration; import com.loafle.overflow.module.apikey.model.ApiKey; -import com.loafle.overflow.module.domain.Domain; +import com.loafle.overflow.module.domain.model.Domain; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; @@ -11,8 +11,6 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; -import static org.junit.Assert.*; - /** * Created by root on 17. 6. 23. */ diff --git a/src/test/java/com/loafle/overflow/module/domain/dao/DomainDAOTest.java b/src/test/java/com/loafle/overflow/module/domain/dao/DomainDAOTest.java index e3b24f3..4a5a729 100644 --- a/src/test/java/com/loafle/overflow/module/domain/dao/DomainDAOTest.java +++ b/src/test/java/com/loafle/overflow/module/domain/dao/DomainDAOTest.java @@ -2,7 +2,7 @@ package com.loafle.overflow.module.domain.dao; import com.loafle.overflow.AppConfig; import com.loafle.overflow.JdbcConfiguration; -import com.loafle.overflow.module.domain.Domain; +import com.loafle.overflow.module.domain.model.Domain; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; @@ -10,10 +10,6 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; -import java.util.Date; - -import static org.junit.Assert.*; - /** * Created by root on 17. 6. 23. */ @@ -33,7 +29,6 @@ public class DomainDAOTest { this.domainDAO.save(domain); - Assert.assertNotEquals(domain.getId(), 0); } diff --git a/src/test/java/com/loafle/overflow/module/domain/dao/DomainMemberDAOTest.java b/src/test/java/com/loafle/overflow/module/domain/dao/DomainMemberDAOTest.java index 0ab7960..135629b 100644 --- a/src/test/java/com/loafle/overflow/module/domain/dao/DomainMemberDAOTest.java +++ b/src/test/java/com/loafle/overflow/module/domain/dao/DomainMemberDAOTest.java @@ -2,14 +2,12 @@ package com.loafle.overflow.module.domain.dao; import com.loafle.overflow.AppConfig; import com.loafle.overflow.JdbcConfiguration; -import com.loafle.overflow.module.domain.DomainMember; +import com.loafle.overflow.module.domain.model.DomainMember; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; -import static org.junit.Assert.*; - /** * Created by root on 17. 6. 23. */ 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 261af22..a46cb78 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 @@ -2,11 +2,10 @@ package com.loafle.overflow.module.noauthprobe.dao; import com.loafle.overflow.AppConfig; import com.loafle.overflow.JdbcConfiguration; -import com.loafle.overflow.module.domain.Domain; +import com.loafle.overflow.module.domain.model.Domain; import com.loafle.overflow.module.noauthprobe.model.NoAuthProbe; import com.loafle.overflow.module.noauthprobe.type.AuthType; import org.junit.Assert; -import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; @@ -15,8 +14,6 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import java.util.List; -import static org.junit.Assert.*; - /** * Created by root on 17. 6. 22. */ diff --git a/src/test/java/com/loafle/overflow/module/probe/dao/ProbeDAOTest.java b/src/test/java/com/loafle/overflow/module/probe/dao/ProbeDAOTest.java index 9e37bca..c4365fc 100644 --- a/src/test/java/com/loafle/overflow/module/probe/dao/ProbeDAOTest.java +++ b/src/test/java/com/loafle/overflow/module/probe/dao/ProbeDAOTest.java @@ -2,7 +2,7 @@ package com.loafle.overflow.module.probe.dao; import com.loafle.overflow.AppConfig; import com.loafle.overflow.JdbcConfiguration; -import com.loafle.overflow.module.domain.Domain; +import com.loafle.overflow.module.domain.model.Domain; import com.loafle.overflow.module.probe.model.Probe; import com.loafle.overflow.module.probe.type.ProbeStatusType; import org.junit.Assert; @@ -14,8 +14,6 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import java.util.List; -import static org.junit.Assert.*; - /** * Created by root on 17. 6. 23. */