This commit is contained in:
insanity 2018-07-03 11:37:02 +09:00
parent 50c124de2b
commit bed6e6e849
3 changed files with 3 additions and 16 deletions

View File

@ -11,12 +11,9 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.util.Assert;
import java.util.List;
import static org.junit.Assert.*;
@RunWith(SpringJUnit4ClassRunner.class)
@ActiveProfiles("test")
@ContextConfiguration(classes = { AppConfigTest.class })

View File

@ -15,8 +15,6 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import java.util.List;
import static org.junit.Assert.*;
@RunWith(SpringJUnit4ClassRunner.class)
@ActiveProfiles("test")
@ContextConfiguration(classes = { AppConfigTest.class })

View File

@ -1,25 +1,17 @@
package com.loafle.overflow.central.module.meta.service;
import com.loafle.overflow.central.spring.AppConfigTest;
import com.loafle.overflow.model.meta.MetaDisplayItemMapping;
import com.loafle.overflow.service.central.meta.MetaDisplayItemMappingService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import static org.junit.Assert.*;
@RunWith(SpringJUnit4ClassRunner.class)
@ActiveProfiles("test")
@ContextConfiguration(classes = { AppConfigTest.class })
public class CentralMetaDisplayItemMappingServiceTest {
@Autowired
private MetaDisplayItemMappingService metaDisplayItemMappingService;
@Test
public void readAllByMetaDisplayItemID() {
}