Skip to content

Commit

Permalink
Set proper ignore description for edge entities on edge
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiLandiak committed Sep 4, 2024
1 parent 1d98ca2 commit 40b069e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1031,9 +1031,8 @@ public void testFindCustomerAssetsByType() throws Exception {
Assert.assertEquals(0, pageData.getData().size());
}

// edge-only: @Ignore - edge entities support available for CE/PE
@Ignore
@Test
@Ignore("Edge entities support available for CE/PE only")
public void testAssignAssetToEdge() throws Exception {
Edge edge = constructEdge("My edge", "default");
Edge savedEdge = doPost("/api/edge", edge, Edge.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -510,9 +510,8 @@ public void testFindCustomerDashboards() throws Exception {
Assert.assertEquals(dashboards, loadedDashboards);
}

// edge-only: @Ignore - edge entities support available for CE/PE
@Ignore
@Test
@Ignore("Edge entities support available for CE/PE only")
public void testAssignDashboardToEdge() throws Exception {
Edge edge = constructEdge("My edge", "default");
Edge savedEdge = doPost("/api/edge", edge, Edge.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1383,9 +1383,8 @@ public void testAssignDeviceToTenant() throws Exception {
deleteTenant(savedDifferentTenant.getId());
}

// edge-only: @Ignore - edge entities support available for CE/PE
@Ignore
@Test
@Ignore("Edge entities support available for CE/PE only")
public void testAssignDeviceToEdge() throws Exception {
Edge edge = constructEdge("My edge", "default");
Edge savedEdge = doPost("/api/edge", edge, Edge.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,8 @@ public void beforeTest() throws Exception {
public void afterTest() throws Exception {
}

// edge-only: @Ignore - edge entities support available for CE/PE
@Ignore
@Test
@Ignore("Edge entities support available for CE/PE only")
public void testGetEdgeEvents() throws Exception {
Edge edge = constructEdge("TestEdge", "default");
edge = doPost("/api/edge", edge, Edge.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@ public void afterTest() throws Exception {
deleteTenant(savedTenant.getId());
}

// edge-only: @Ignore - edge entities support available for CE/PE
@Ignore
@Test
@Ignore("Edge entities support available for CE/PE only")
public void testSaveRuleChain() throws Exception {
RuleChain ruleChain = new RuleChain();
ruleChain.setName("RuleChain");
Expand Down Expand Up @@ -254,9 +253,8 @@ public void testDeleteRuleChain() throws Exception {
.andExpect(statusReason(containsString(msgErrorNoFound("Rule chain", entityIdStr))));
}

// edge-only: @Ignore - edge entities support available for CE/PE
@Ignore
@Test
@Ignore("Edge entities support available for CE/PE only")
public void testFindEdgeRuleChainsByTenantIdAndName() throws Exception {
Edge edge = constructEdge("My edge", "default");
Edge savedEdge = doPost("/api/edge", edge, Edge.class);
Expand Down

0 comments on commit 40b069e

Please sign in to comment.