Fix device profile tests for repeating values
This commit is contained in:
parent
e7f30dff8d
commit
a50282f1ea
@ -775,6 +775,7 @@ public class TbDeviceProfileNodeTest {
|
||||
|
||||
verify(ctx, Mockito.never()).tellNext(theMsg, "Alarm Created");
|
||||
|
||||
data.put("temperature", 151);
|
||||
TbMsg msg2 = TbMsg.newMsg(SessionMsgType.POST_TELEMETRY_REQUEST.name(), deviceId, new TbMsgMetaData(),
|
||||
TbMsgDataType.JSON, mapper.writeValueAsString(data), null, null);
|
||||
|
||||
@ -890,6 +891,7 @@ public class TbDeviceProfileNodeTest {
|
||||
|
||||
verify(ctx, Mockito.never()).tellNext(theMsg, "Alarm Created");
|
||||
|
||||
data.put("temperature", 151);
|
||||
TbMsg msg2 = TbMsg.newMsg(SessionMsgType.POST_TELEMETRY_REQUEST.name(), deviceId, new TbMsgMetaData(),
|
||||
TbMsgDataType.JSON, mapper.writeValueAsString(data), null, null);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user