Browse Source

fixed TbMsgDeduplicationNodeTest

pull/9828/head
YevhenBondarenko 3 years ago
parent
commit
b65391e6ac
  1. 1
      rule-engine/rule-engine-components/src/test/java/org/thingsboard/rule/engine/transform/TbMsgDeduplicationNodeTest.java

1
rule-engine/rule-engine-components/src/test/java/org/thingsboard/rule/engine/transform/TbMsgDeduplicationNodeTest.java

@ -94,6 +94,7 @@ public class TbMsgDeduplicationNodeTest {
when(ctx.getSelfId()).thenReturn(ruleNodeId);
when(ctx.getTenantId()).thenReturn(tenantId);
when(ctx.getSelf()).thenReturn(new RuleNode());
doAnswer((Answer<TbMsg>) invocationOnMock -> {
TbMsgType type = (TbMsgType) (invocationOnMock.getArguments())[1];

Loading…
Cancel
Save