Skip to content

Commit 784feb3

Browse files
Fixed tests (#17)
Co-authored-by: Viacheslav Klimov <viacheslavklimov11@gmail.com>
1 parent 9da03a7 commit 784feb3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ce/src/test/java/org/thingsboard/client/api/WidgetTypeApiTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void testWidgetTypeLifecycle() throws ApiException {
6565
String name = TEST_PREFIX + "Widget_" + timestamp + "_" + i;
6666
JsonNode descriptor = createDescriptor("latest");
6767

68-
WidgetTypeDetails widgetType = new WidgetTypeDetails(null, name, descriptor, null, null);
68+
WidgetTypeDetails widgetType = new WidgetTypeDetails(null, null, null, name, descriptor);
6969
widgetType.setDescription("Test widget " + i);
7070
widgetType.setDeprecated(false);
7171
widgetType.setTags(List.of("test", "automated"));

paas/src/test/java/org/thingsboard/client/api/WidgetTypeApiTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void testWidgetTypeLifecycle() throws ApiException {
6565
String name = TEST_PREFIX + "Widget_" + timestamp + "_" + i;
6666
JsonNode descriptor = createDescriptor("latest");
6767

68-
WidgetTypeDetails widgetType = new WidgetTypeDetails(null, name, descriptor, null, null);
68+
WidgetTypeDetails widgetType = new WidgetTypeDetails(null, null, null, name, descriptor);
6969
widgetType.setDescription("Test widget " + i);
7070
widgetType.setDeprecated(false);
7171
widgetType.setTags(List.of("test", "automated"));

pe/src/test/java/org/thingsboard/client/api/WidgetTypeApiTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void testWidgetTypeLifecycle() throws ApiException {
6565
String name = TEST_PREFIX + "Widget_" + timestamp + "_" + i;
6666
JsonNode descriptor = createDescriptor("latest");
6767

68-
WidgetTypeDetails widgetType = new WidgetTypeDetails(null, name, descriptor, null, null);
68+
WidgetTypeDetails widgetType = new WidgetTypeDetails(null, null, null, name, descriptor);
6969
widgetType.setDescription("Test widget " + i);
7070
widgetType.setDeprecated(false);
7171
widgetType.setTags(List.of("test", "automated"));

0 commit comments

Comments
 (0)