Skip to content

Commit

Permalink
sonar tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonSharratt committed Jan 31, 2020
1 parent 4c5a0c8 commit 6b1b841
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions microservices/requestApi/test/v2/requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,9 @@ describe("Requests", function() {
describe('/GET v2 & v2/requestId', function () {
it('it should get requests', function (done) {
chai.request(server)
.get('/v2?limit=1&page=1')
.get('/v2?limit=1&page=1&state=0')
.set("Authorization", "Bearer " + jwt)
.end(function (err, res) {
console.log("v2 should get requests body", res.body);
res.should.have.status(200);
res.body.length.should.be.eql(1);
done();
Expand Down
3 changes: 2 additions & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ projectApi.sonar.projectBaseDir=microservices/projectApi
projectApi.sonar.sources=auth,bin,db,routes

requestApi.sonar.projectBaseDir=microservices/requestApi
requestApi.sonar.sources=auth,bin,db,routes,notifications
requestApi.sonar.sources=auth,bin,db,routes,clients,messages,util
requestApi.sonar.exclusions=**/notifications/*.js

policyApi.sonar.projectBaseDir=microservices
policyApi.sonar.sources=policyApi/db,policyApi/v1
Expand Down

0 comments on commit 6b1b841

Please sign in to comment.