Browse Source

Merge branch 'master' of github.com:thingsboard/thingsboard

pull/9583/head
Andrii Shvaika 3 years ago
parent
commit
f08e7e5de1
  1. 7
      application/src/test/java/org/thingsboard/server/controller/WidgetsBundleControllerTest.java

7
application/src/test/java/org/thingsboard/server/controller/WidgetsBundleControllerTest.java

@ -268,6 +268,13 @@ public class WidgetsBundleControllerTest extends AbstractControllerTest {
Collections.sort(loadedWidgetsBundles2, idComparator); Collections.sort(loadedWidgetsBundles2, idComparator);
Assert.assertEquals(tenantWidgetsBundles, loadedWidgetsBundles2); Assert.assertEquals(tenantWidgetsBundles, loadedWidgetsBundles2);
// cleanup
loginSysAdmin();
for (WidgetsBundle sysWidgetsBundle : sysWidgetsBundles) {
doDelete("/api/widgetsBundle/" + sysWidgetsBundle.getId().getId().toString())
.andExpect(status().isOk());
}
} }
@Test @Test

Loading…
Cancel
Save