add test
This commit is contained in:
parent
73404d9938
commit
827741ae36
@ -0,0 +1,21 @@
|
|||||||
|
import com.red.circle.OtherServiceApplication;
|
||||||
|
import com.red.circle.other.app.scheduler.DailyTask;
|
||||||
|
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;
|
||||||
|
|
||||||
|
@SpringBootTest(classes = OtherServiceApplication.class)
|
||||||
|
@RunWith(SpringRunner.class)
|
||||||
|
public class DailTaskTest {
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private DailyTask dailyTask;
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void DailTaskTest() {
|
||||||
|
dailyTask. nobleDailyGoldRewardTask();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user