-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Validate search scope when scheduled event created [DHIS2-17335] (…
…#19457) * fix: Validate search scope when scheduled event created [DHIS2-17335] * fix: Remove unused method & test [DHIS2-17335] * fix: Add PR suggestions [DHIS2-17335]
- Loading branch information
Showing
3 changed files
with
67 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...ntegration/src/test/resources/tracker/validations/events-scheduled-with-registration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"events": [ | ||
{ | ||
"event": "ZwwuwNp6gVd", | ||
"status": "SCHEDULE", | ||
"program": { | ||
"idScheme": "UID", | ||
"identifier": "E8o1E9tAppy" | ||
}, | ||
"programStage": { | ||
"idScheme": "UID", | ||
"identifier": "Qmqxq907VNz" | ||
}, | ||
"enrollment": "MNWZ6hnuhSw", | ||
"orgUnit": { | ||
"idScheme": "UID", | ||
"identifier": "QfUVllTs6cS" | ||
}, | ||
"orgUnitName": "TA org_unit lvl2", | ||
"scheduledAt": "2019-08-19T13:59:13.688", | ||
"storedBy": "admin", | ||
"deleted": false, | ||
"attributeOptionCombo": { | ||
"idScheme": "UID", | ||
"identifier": "HllvX50cXC0" | ||
} | ||
} | ||
] | ||
} |