fix
Helius
2021-08-12 4705f9b4084d9ccddb601569b223f0fb41778a94
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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());
    }
}