Browse Source

fix typo in TbelInvokeServiceTest

pull/8786/head
ShvaykaD 3 years ago
parent
commit
f01b2d6595
  1. 2
      application/src/test/java/org/thingsboard/server/service/script/TbelInvokeServiceTest.java

2
application/src/test/java/org/thingsboard/server/service/script/TbelInvokeServiceTest.java

@ -217,7 +217,7 @@ class TbelInvokeServiceTest extends AbstractControllerTest {
private String invokeScript(UUID scriptId, String str) throws ExecutionException, InterruptedException {
var msg = JacksonUtil.fromString(str, Map.class);
return invokeService.invokeScript(TenantId.SYS_TENANT_ID, null, scriptId, msg, "{}", POST_TELEMETRY_REQUEST.getRuleNodeConnection()).get().toString();
return invokeService.invokeScript(TenantId.SYS_TENANT_ID, null, scriptId, msg, "{}", POST_TELEMETRY_REQUEST.name()).get().toString();
}
}

Loading…
Cancel
Save