创建 MonitorServiceTest.java
parent
c2bf0b3040
commit
6609c2eb4d
|
|
@ -0,0 +1,17 @@
|
||||||
|
package com.kimgo.wepush.service;
|
||||||
|
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
|
|
||||||
|
@SpringBootTest
|
||||||
|
class MonitorServiceTest {
|
||||||
|
@Autowired
|
||||||
|
private MonitorService monitorService;
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void monitorOnlineDevices() {
|
||||||
|
|
||||||
|
monitorService.monitorOnlineDevices();
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue