创建 MonitorServiceTest.java

pull/1/head
wangsiyuan 2023-12-08 18:09:50 +08:00
parent c2bf0b3040
commit 6609c2eb4d
1 changed files with 17 additions and 0 deletions

View File

@ -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();
}
}