Skip to content

Commit

Permalink
Fix creation of testSuite if there are conditions in policies
Browse files Browse the repository at this point in the history
  • Loading branch information
harshach committed Dec 14, 2024
1 parent 41d7168 commit 85c9eb1
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,14 @@ public void setFullyQualifiedName(TestSuite testSuite) {
}
}

@Override
public EntityInterface getParentEntity(TestSuite entity, String fields) {
if (entity.getExecutable()) {
return Entity.getEntity(entity.getExecutableEntityReference(), fields, ALL);
}
return null;
}

private TestSummary getTestCasesExecutionSummary(JsonObject aggregation) {
// Initialize the test summary with 0 values
TestSummary testSummary =
Expand Down

0 comments on commit 85c9eb1

Please sign in to comment.