package com.matrix;
|
|
import com.matrix.system.dataMove.SjfDataMoveServiceImpl;
|
import org.junit.Test;
|
import org.junit.runner.RunWith;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.boot.test.context.SpringBootTest;
|
import org.springframework.test.context.junit4.SpringRunner;
|
|
|
@RunWith(SpringRunner.class)
|
@SpringBootTest(classes = {ZqErpApplication.class},webEnvironment =SpringBootTest.WebEnvironment.RANDOM_PORT)
|
public class SjfDataMoveTest {
|
|
@Autowired
|
private SjfDataMoveServiceImpl sjfDataMoveService;
|
|
|
@Test
|
public void productAttrTest() {
|
sjfDataMoveService.productAttr(sjfDataMoveService.oldProductAttr());
|
}
|
|
@Test
|
public void productTest() {
|
sjfDataMoveService.newShopProduct(sjfDataMoveService.oldProduct());
|
}
|
}
|