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