Skip to content

Commit

Permalink
fix: Failing analytics e2e test [DHIS2-18607] (#19442)
Browse files Browse the repository at this point in the history
  • Loading branch information
maikelarabori authored Dec 11, 2024
1 parent 95d8a45 commit 926dee8
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 146 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ public void queryAggregatedenrollmentsmacase2() throws JSONException {
.validate()
.statusCode(200)
.body("headers", hasSize(equalTo(3)))
.body("rows", hasSize(equalTo(0)))
.body("height", equalTo(0))
.body("width", equalTo(0))
.body("rows", hasSize(equalTo(1)))
.body("height", equalTo(1))
.body("width", equalTo(3))
.body("headerWidth", equalTo(3));

// Assert metaData.
Expand All @@ -172,6 +172,7 @@ public void queryAggregatedenrollmentsmacase2() throws JSONException {
validateHeader(response, 2, "pe", "Period", "TEXT", "java.lang.String", false, true);

// Assert rows.
validateRow(response, List.of("1", "ImspTQPwCqd", "202304"));
}

@Test
Expand Down
Loading

0 comments on commit 926dee8

Please sign in to comment.