Browse Source

unignored tests

pull/8068/head
dashevchenko 4 years ago
parent
commit
f9e3b63594
  1. 1
      application/src/test/java/org/thingsboard/server/controller/BaseAlarmControllerTest.java
  2. 1
      application/src/test/java/org/thingsboard/server/controller/BaseAssetControllerTest.java
  3. 1
      application/src/test/java/org/thingsboard/server/controller/BaseCustomerControllerTest.java
  4. 1
      application/src/test/java/org/thingsboard/server/controller/BaseDeviceControllerTest.java
  5. 1
      application/src/test/java/org/thingsboard/server/controller/BaseDeviceProfileControllerTest.java
  6. 1
      application/src/test/java/org/thingsboard/server/controller/BaseEdgeControllerTest.java
  7. 1
      application/src/test/java/org/thingsboard/server/controller/BaseEntityViewControllerTest.java
  8. 1
      application/src/test/java/org/thingsboard/server/controller/BaseRuleChainControllerTest.java
  9. 2
      application/src/test/java/org/thingsboard/server/controller/BaseUserControllerTest.java

1
application/src/test/java/org/thingsboard/server/controller/BaseAlarmControllerTest.java

@ -442,7 +442,6 @@ public abstract class BaseAlarmControllerTest extends AbstractControllerTest {
Assert.assertTrue("Created alarm doesn't match the found one!", equals);
}
@Ignore
@Test
public void testDeleteAlarmWithDeleteRelationsOk() throws Exception {
loginCustomerUser();

1
application/src/test/java/org/thingsboard/server/controller/BaseAssetControllerTest.java

@ -940,7 +940,6 @@ public abstract class BaseAssetControllerTest extends AbstractControllerTest {
Assert.assertEquals(0, pageData.getData().size());
}
@Ignore
@Test
public void testDeleteAssetWithDeleteRelationsOk() throws Exception {
AssetId assetId = createAsset("Asset for Test WithRelationsOk").getId();

1
application/src/test/java/org/thingsboard/server/controller/BaseCustomerControllerTest.java

@ -423,7 +423,6 @@ public abstract class BaseCustomerControllerTest extends AbstractControllerTest
Assert.assertEquals(0, pageData.getData().size());
}
@Ignore
@Test
public void testDeleteCustomerWithDeleteRelationsOk() throws Exception {
CustomerId customerId = createCustomer("Customer for Test WithRelationsOk").getId();

1
application/src/test/java/org/thingsboard/server/controller/BaseDeviceControllerTest.java

@ -1280,7 +1280,6 @@ public abstract class BaseDeviceControllerTest extends AbstractControllerTest {
Mockito.verify(gatewayNotificationsService, never()).onDeviceDeleted(Mockito.any(Device.class));
}
@Ignore
@Test
public void testDeleteDashboardWithDeleteRelationsOk() throws Exception {
DeviceId deviceId = createDevice("Device for Test WithRelationsOk").getId();

1
application/src/test/java/org/thingsboard/server/controller/BaseDeviceProfileControllerTest.java

@ -985,7 +985,6 @@ public abstract class BaseDeviceProfileControllerTest extends AbstractController
tenantAdmin.getId(), tenantAdmin.getEmail(), ActionType.ADDED, new DataValidationException(errorMsg));
}
@Ignore
@Test
public void testDeleteDeviceProfileWithDeleteRelationsOk() throws Exception {
DeviceProfileId deviceProfileId = savedDeviceProfile("DeviceProfile for Test WithRelationsOk").getId();

1
application/src/test/java/org/thingsboard/server/controller/BaseEdgeControllerTest.java

@ -871,7 +871,6 @@ public abstract class BaseEdgeControllerTest extends AbstractControllerTest {
}
}
@Ignore
@Test
public void testDeleteEdgeWithDeleteRelationsOk() throws Exception {
EdgeId edgeId = savedEdge("Edge for Test WithRelationsOk").getId();

1
application/src/test/java/org/thingsboard/server/controller/BaseEntityViewControllerTest.java

@ -807,7 +807,6 @@ public abstract class BaseEntityViewControllerTest extends AbstractControllerTes
Assert.assertEquals(0, pageData.getData().size());
}
@Ignore
@Test
public void testDeleteEntityViewWithDeleteRelationsOk() throws Exception {
EntityViewId entityViewId = getNewSavedEntityView("EntityView for Test WithRelationsOk").getId();

1
application/src/test/java/org/thingsboard/server/controller/BaseRuleChainControllerTest.java

@ -261,7 +261,6 @@ public abstract class BaseRuleChainControllerTest extends AbstractControllerTest
testEntityDaoWithRelationsTransactionalException(ruleChainDao, savedTenant.getId(), ruleChainId, "/api/ruleChain/" + ruleChainId);
}
@Ignore
@Test
public void givenRuleNodeWithInvalidConfiguration_thenReturnError() throws Exception {
RuleChain ruleChain = createRuleChain("Rule chain with invalid nodes");

2
application/src/test/java/org/thingsboard/server/controller/BaseUserControllerTest.java

@ -718,8 +718,6 @@ public abstract class BaseUserControllerTest extends AbstractControllerTest {
.andExpect(status().isOk());
}
@Ignore
@Test
public void testDeleteUserWithDeleteRelationsOk() throws Exception {
UserId userId = createUser().getId();

Loading…
Cancel
Save