更新 HeartBeatServiceTest.java
parent
8772a041f3
commit
d95a725934
|
|
@ -15,8 +15,6 @@ class HeartBeatServiceTest {
|
||||||
void updateClientStatus() {
|
void updateClientStatus() {
|
||||||
DeviceInfo deviceInfo = new DeviceInfo();
|
DeviceInfo deviceInfo = new DeviceInfo();
|
||||||
deviceInfo.setDeviceModel("Model B");
|
deviceInfo.setDeviceModel("Model B");
|
||||||
deviceInfo.setSerialNumber("SN1234567891");
|
|
||||||
deviceInfo.setAndroidId("android_id_2");
|
|
||||||
heartBeatService.updateClientStatus(deviceInfo);
|
heartBeatService.updateClientStatus(deviceInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -24,8 +22,6 @@ class HeartBeatServiceTest {
|
||||||
void addDeviceInfo() {
|
void addDeviceInfo() {
|
||||||
DeviceInfo deviceInfo = new DeviceInfo();
|
DeviceInfo deviceInfo = new DeviceInfo();
|
||||||
deviceInfo.setDeviceModel("Model C");
|
deviceInfo.setDeviceModel("Model C");
|
||||||
deviceInfo.setSerialNumber("SN1234567899");
|
|
||||||
deviceInfo.setAndroidId("dadwdwfcev");
|
|
||||||
heartBeatService.addDeviceInfo(deviceInfo);
|
heartBeatService.addDeviceInfo(deviceInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue