Skip to content

Commit

Permalink
improvement(case-aggregations): reduce age upper boundary range to 159
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMaruchu committed Jun 8, 2020
1 parent 0e4b361 commit e65dc41
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions src/aggregations/case.aggregations.js
Expand Up @@ -24,11 +24,6 @@ const AGE_GROUPS_LOWER_BOUNDARIES = [
130,
140,
150,
160,
170,
180,
190,
200,
];

// generate all age groups from 0 to 200 years
Expand Down
2 changes: 1 addition & 1 deletion test/integration/case.aggregations.spec.js
Expand Up @@ -23,7 +23,7 @@ describe('EventCase Aggregations', () => {
expect(report.data.overall.ageGroups).to.exist.and.be.an('array');
expect(report.data.overall.occupations).to.exist.and.be.an('array');
expect(report.data.overall.nationalities).to.exist.and.be.an('array');
expect(report.data.overall.ageGroups).to.have.lengthOf(21);
expect(report.data.overall.ageGroups).to.have.lengthOf(16);
done(error, report);
});
});
Expand Down

0 comments on commit e65dc41

Please sign in to comment.