Skip to content

Commit

Permalink
fix: Remove custom COC defaults (#19215)
Browse files Browse the repository at this point in the history
  • Loading branch information
enricocolasante authored Nov 20, 2024
1 parent d232c62 commit abfffe8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ void testCategoryOptionIdentifiers() {

@Test
void testCategoryOptionComboIdentifiers() {
List<Pair<String, TrackerIdSchemeParam>> data = buildDataSet("XXXvX50cXC0", "COCA", "COCAname");
List<Pair<String, TrackerIdSchemeParam>> data =
buildDataSet("HllvX50cXC0", "default", "default");
for (Pair<String, TrackerIdSchemeParam> pair : data) {
String id = pair.getLeft();
TrackerIdSchemeParam param = pair.getRight();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ void testPreheatEvents() throws IOException {
assertFalse(preheat.getAll(OrganisationUnit.class).isEmpty());
assertFalse(preheat.getAll(ProgramStage.class).isEmpty());
assertFalse(preheat.getAll(CategoryOptionCombo.class).isEmpty());
assertNotNull(preheat.get(CategoryOptionCombo.class, "XXXvX50cXC0"));
assertNotNull(preheat.get(CategoryOptionCombo.class, "HllvX50cXC0"));
assertNotNull(preheat.get(CategoryOption.class, "XXXrKDKCefk"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"deleted": false,
"attributeOptionCombo": {
"idScheme": "UID",
"identifier": "XXXvX50cXC0"
"identifier": "HllvX50cXC0"
},
"attributeCategoryOptions": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1820,24 +1820,6 @@
"id": "xYerKDKCefk"
}
]
},
{
"lastUpdated": "2019-01-28T11:01:30.775",
"code": "COCA",
"created": "2019-01-28T11:01:30.771",
"name": "COCAname",
"id": "XXXvX50cXC0",
"ignoreApproval": false,
"categoryCombo": {
"id": "bjDvmb4bfuf"
},
"translations": [],
"attributeValues": [],
"categoryOptions": [
{
"id": "xYerKDKCefk"
}
]
}
],
"categories": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,23 +204,6 @@
"id": "xYerKDKCefk"
}
]
},
{
"lastUpdated": "2019-01-28T11:01:30.775",
"code": "COCA",
"created": "2019-01-28T11:01:30.771",
"name": "COCAname",
"id": "XXXvX50cXC0",
"ignoreApproval": false,
"categoryCombo": {
"id": "bjDvmb4bfuf"
},
"attributeValues": [],
"categoryOptions": [
{
"id": "xYerKDKCefk"
}
]
}
],
"categories": [
Expand Down

0 comments on commit abfffe8

Please sign in to comment.