Commit 7fda47c
chore(deps): bump org.hisp.dhis:json-tree from 1.8.1 to 1.9.4 in /dhis-2/dhis-test-e2e (#23948)
* chore(deps): bump org.hisp.dhis:json-tree in /dhis-2/dhis-test-e2e
Bumps [org.hisp.dhis:json-tree](https://github.com/dhis2/json-tree) from 1.8.1 to 1.9.4.
- [Release notes](https://github.com/dhis2/json-tree/releases)
- [Changelog](https://github.com/dhis2/json-tree/blob/main/CHANGELOG.md)
- [Commits](dhis2/json-tree@v1.8.1...v1.9.4)
---
updated-dependencies:
- dependency-name: org.hisp.dhis:json-tree
dependency-version: 1.9.4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: adapt JsonValueSerializer usage to json-tree 1.9.x API
json-tree 1.9.x removed JsonTypedAccess; the default global accessors are
now applied by the single-arg JsonMixed.of(content). Drop the obsolete
JsonTypedAccess.GLOBAL argument and import so dhis-test-e2e compiles at 1.9.4.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* fix: send raw JSON body in RelationshipsTests under json-tree 1.9.x
json-tree 1.9.x changed JsonNode.getDeclaration() to return Text (a
CharSequence) instead of String. postAndGetJobReport(Object,..) passes it
to REST-assured .body(), which sends a String raw but JSON-serializes any
other object — so the Text was serialized into a malformed body and the
expected E4015 'already exists' warning never came back. Call .toString()
to restore the raw-JSON String body, matching 1.8.1 behaviour.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stian Sandvold <stian@dhis2.org>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 14544d0 commit 7fda47c
3 files changed
Lines changed: 3 additions & 4 deletions
File tree
- dhis-2/dhis-test-e2e
- src
- main/java/org/hisp/dhis/test/e2e/dto
- test/java/org/hisp/dhis/tracker/imports/relationships
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
118 | 117 | | |
119 | 118 | | |
120 | 119 | | |
121 | | - | |
| 120 | + | |
122 | 121 | | |
123 | 122 | | |
124 | 123 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
0 commit comments