Skip to content

Commit

Permalink
#274 Gazelle reports without assertions must pass
Browse files Browse the repository at this point in the history
Fixes #274
  • Loading branch information
qligier committed Sep 13, 2024
1 parent e432a0b commit 732737a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,9 @@ public void computeResultSubReport() {
.map(this::getAssertionResultBySeverity)
.filter(Objects::nonNull)
.max(ValidationSubReport::keepHeaviestResult)
.orElse(ValidationTestResult.UNDEFINED)
: ValidationTestResult.UNDEFINED;
.orElse(ValidationTestResult.PASSED)
: ValidationTestResult.PASSED;
// If no assertion report is present, the result is PASSED
ValidationTestResult subReportsResult = this.subReports != null
? (ValidationTestResult)this.subReports
.stream()
Expand Down

0 comments on commit 732737a

Please sign in to comment.