测试类编译错误
This commit is contained in:
parent
7adbdbb152
commit
8a6c749b50
@ -1,6 +1,5 @@
|
||||
package cn.axzo.oss.test.base;
|
||||
|
||||
import cn.axzo.oss.client.Bootstrap;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
@ -11,7 +10,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
* @author: mr.jie
|
||||
* @date: 2021-07-29 18:43
|
||||
**/
|
||||
@SpringBootTest(classes = Bootstrap.class)
|
||||
@SpringBootTest(classes = TestBootstrap.class)
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
public class SpringTestBase {
|
||||
|
||||
|
||||
@ -0,0 +1,18 @@
|
||||
package cn.axzo.oss.test.base;
|
||||
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
/**
|
||||
* OSS 启动类
|
||||
*
|
||||
* @author zhaoyong
|
||||
* @see Bootstrap
|
||||
* @since 2021-07-15 11:34
|
||||
*/
|
||||
@MapperScan(basePackages = {"cn.axzo.oss.dal.mapper"})
|
||||
@SpringBootApplication(scanBasePackages = {"cn.axzo.oss"})
|
||||
@MapperScan(basePackages = {"cn.axzo.oss.dal.mapper"})
|
||||
public class TestBootstrap {
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user