Skip to content
Snippets Groups Projects
Commit be00beed authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

:white_check_mark: Improve test coverage (just a tiny bit)

parent d8584c9d
No related branches found
No related tags found
3 merge requests!116Release v1.0.0,!44Feature multiple where,!36Query optimization
Pipeline #
...@@ -37,5 +37,8 @@ module.exports = { ...@@ -37,5 +37,8 @@ module.exports = {
transform, transform,
gender, gender,
period, period,
schoolYear schoolYear,
admDependency,
location,
ethnicGroup
}; };
...@@ -180,7 +180,7 @@ describe('request enrollments', () => { ...@@ -180,7 +180,7 @@ describe('request enrollments', () => {
it('should list enrollments with valid dimensions', (done) => { it('should list enrollments with valid dimensions', (done) => {
chai.request(server) chai.request(server)
.get('/api/v1/enrollment?dims=region,state,adm_dependency,location&filter=min_year:2014,region:4') .get('/api/v1/enrollment?dims=region,state,adm_dependency,location,gender,period,education_level,location,ethnic_group')
.end((err, res) => { .end((err, res) => {
res.should.have.status(200); res.should.have.status(200);
res.should.be.json; res.should.be.json;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment