更新 HeartBeatServiceTest.java
This commit is contained in:
@@ -14,14 +14,10 @@ class HeartBeatServiceTest {
|
||||
@Test
|
||||
void updateClientStatus() {
|
||||
DeviceInfo deviceInfo = new DeviceInfo();
|
||||
deviceInfo.setDeviceModel("Model B");
|
||||
heartBeatService.updateClientStatus(deviceInfo);
|
||||
}
|
||||
|
||||
@Test
|
||||
void addDeviceInfo() {
|
||||
DeviceInfo deviceInfo = new DeviceInfo();
|
||||
deviceInfo.setDeviceModel("Model C");
|
||||
heartBeatService.addDeviceInfo(deviceInfo);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user