From bf31d81448cfa5c2e06a061b9925251906571a73 Mon Sep 17 00:00:00 2001
From: Victor Picussa <vp16@inf.ufpr.br>
Date: Wed, 6 Jun 2018 11:10:16 -0300
Subject: [PATCH] [dailyChargeAmount]Pattern fix tests

---
 src/test/dailyChargeAmount.js | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/test/dailyChargeAmount.js b/src/test/dailyChargeAmount.js
index 92e2b59a..6cef69f4 100644
--- a/src/test/dailyChargeAmount.js
+++ b/src/test/dailyChargeAmount.js
@@ -26,7 +26,7 @@ chai.use(chaiHttp);
 describe('request daily charge amount', () => {
     it('should list the year range', (done) => {
         chai.request(server)
-            .get('/api/v1/dailyChargeAmount/year_range')
+            .get('/api/v1/daily_charge_amount/year_range')
             .end((err, res) => {
                 res.should.have.status(200);
                 res.should.be.json;
@@ -40,7 +40,7 @@ describe('request daily charge amount', () => {
 
     it('should list the year range', (done) => {
         chai.request(server)
-            .get('/api/v1/dailyChargeAmount/years')
+            .get('/api/v1/daily_charge_amount/years')
             .end((err, res) => {
                 res.should.have.status(200);
                 res.should.be.json;
@@ -53,7 +53,7 @@ describe('request daily charge amount', () => {
 
     it('should list the locations', (done) => {
         chai.request(server)
-            .get('/api/v1/dailyChargeAmount/location')
+            .get('/api/v1/daily_charge_amount/location')
             .end((err, res) => {
                 res.should.have.status(200);
                 res.should.be.json;
@@ -67,7 +67,7 @@ describe('request daily charge amount', () => {
 
     it('should list education level short', (done) => {
         chai.request(server)
-            .get('/api/v1/dailyChargeAmount/education_level_short')
+            .get('/api/v1/daily_charge_amount/education_level_short')
             .end((err, res) => {
                 res.should.have.status(200);
                 res.should.be.json;
@@ -81,7 +81,7 @@ describe('request daily charge amount', () => {
 
     it('should list education level mod', (done) => {
         chai.request(server)
-            .get('/api/v1/dailyChargeAmount/education_level_mod')
+            .get('/api/v1/daily_charge_amount/education_level_mod')
             .end((err, res) => {
                 res.should.have.status(200);
                 res.should.be.json;
@@ -95,7 +95,7 @@ describe('request daily charge amount', () => {
 
     it('should list the dimensions of education_level_short', (done) => {
         chai.request(server)
-            .get('/api/v1/dailyChargeAmount?dims=education_level_short&filter=min_year:"2015",max_year:"2015",integral_time:"0",period:["3"]')
+            .get('/api/v1/daily_charge_amount?dims=education_level_short&filter=min_year:"2015",max_year:"2015",integral_time:"0",period:["3"]')
             .end((err, res) => {
                 res.should.have.status(200);
                 res.should.be.json;
@@ -115,7 +115,7 @@ describe('request daily charge amount', () => {
 
     it('should list the filter of education level mod', (done) => {
         chai.request(server)
-            .get('/api/v1/dailyChargeAmount/average?filter=education_level_mod:["3","4","5","6"],integral_time:"0",period:["3"]')
+            .get('/api/v1/daily_charge_amount/average?filter=education_level_mod:["3","4","5","6"],integral_time:"0",period:["3"]')
             .end((err, res) => {
                 res.should.have.status(200);
                 res.should.be.json;
@@ -131,7 +131,7 @@ describe('request daily charge amount', () => {
 
     it('should return 400 with no filters', (done) => {
         chai.request(server)
-            .get('/api/v1/dailyChargeAmount')
+            .get('/api/v1/daily_charge_amount')
             .end((err, res) => {
                 res.should.have.status(400);
                 res.should.be.json;
@@ -143,7 +143,7 @@ describe('request daily charge amount', () => {
 
     it('should return 400 with no filters', (done) => {
         chai.request(server)
-            .get('/api/v1/dailyChargeAmount/average?filter=education_level_mod:["3","4","5","6"]')
+            .get('/api/v1/daily_charge_amount/average?filter=education_level_mod:["3","4","5","6"]')
             .end((err, res) => {
                 res.should.have.status(200);
                 res.should.be.json;
-- 
GitLab