Commit 68b2b9c
fix: correct off-by-one header/row assertions in ENROLLMENT_OU e2e test (#24506)
queryWithProgramAndFilterByEnrollmentOuKeyword asserted 16 headers/columns,
one short of the 17 its sibling queryWithProgramAndFilterByEnrollmentOrgUnit
correctly asserts for the equivalent `.ou` query. 2.43's TrackedEntityStaticField
includes a storedby field that master's does not, so the 16-header expectation
(correct on master, where this test originated) became stale once cherry-picked
onto 2.43. Verified the corrected assertions exactly match the sibling test's
row data and pass against a live server.
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent d66adbd commit 68b2b9c
1 file changed
Lines changed: 6 additions & 3 deletions
File tree
- dhis-2/dhis-test-e2e/src/test/java/org/hisp/dhis/analytics/trackedentity
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1478 | 1478 | | |
1479 | 1479 | | |
1480 | 1480 | | |
1481 | | - | |
| 1481 | + | |
1482 | 1482 | | |
1483 | 1483 | | |
1484 | 1484 | | |
1485 | 1485 | | |
1486 | | - | |
1487 | | - | |
| 1486 | + | |
| 1487 | + | |
1488 | 1488 | | |
1489 | 1489 | | |
1490 | 1490 | | |
| |||
1499 | 1499 | | |
1500 | 1500 | | |
1501 | 1501 | | |
| 1502 | + | |
1502 | 1503 | | |
1503 | 1504 | | |
1504 | 1505 | | |
| |||
1520 | 1521 | | |
1521 | 1522 | | |
1522 | 1523 | | |
| 1524 | + | |
1523 | 1525 | | |
1524 | 1526 | | |
1525 | 1527 | | |
| |||
1541 | 1543 | | |
1542 | 1544 | | |
1543 | 1545 | | |
| 1546 | + | |
1544 | 1547 | | |
1545 | 1548 | | |
1546 | 1549 | | |
| |||
0 commit comments