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

:green_heart: Fix city tests

parent a340cfea
No related branches found
No related tags found
1 merge request!116Release v1.0.0
Pipeline #
......@@ -34,8 +34,7 @@ describe('request cities', () => {
res.should.be.json;
res.body.should.have.property('result');
res.body.result.should.be.a('array');
res.body.result[0].should.have.property('pk_cod_ibge');
res.body.result[0].should.have.property('fk_estado_id');
res.body.result[0].should.have.property('pk_municipio_id');
res.body.result[0].should.have.property('nome');
done();
});
......@@ -49,8 +48,7 @@ describe('request cities', () => {
res.should.be.json;
res.body.should.have.property('result');
res.body.result.should.be.a('array');
res.body.result[0].should.have.property('pk_cod_ibge');
res.body.result[0].should.have.property('fk_estado_id');
res.body.result[0].should.have.property('pk_municipio_id');
res.body.result[0].should.have.property('nome');
done();
});
......@@ -64,8 +62,7 @@ describe('request cities', () => {
res.should.be.json;
res.body.should.have.property('result');
res.body.result.should.be.a('array');
res.body.result[0].should.have.property('pk_cod_ibge');
res.body.result[0].should.have.property('fk_estado_id');
res.body.result[0].should.have.property('pk_municipio_id');
res.body.result[0].should.have.property('nome');
done();
})
......@@ -79,7 +76,7 @@ describe('request cities', () => {
res.should.be.json;
res.body.should.have.property('result');
res.body.result.should.be.a('array');
res.body.result[0].should.have.property('pk_cod_ibge');
res.body.result[0].should.have.property('pk_municipio_id');
res.body.result[0].should.have.property('nome');
done();
});
......
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