Skip to content

Commit

Permalink
Merge pull request #155 from jpajuelo/improvement/jpajuelo-contrib
Browse files Browse the repository at this point in the history
Update req object in unit tests
  • Loading branch information
fdelavega committed Jan 22, 2018
2 parents f0b118b + b962a47 commit 8599b07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/controllers/tmf.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,8 @@ describe('TMF Controller', function() {
method: reqMethod,
user: {'id': userId },
headers: {},
connection: connection
connection: connection,
get: jasmine.createSpy('get'),
};

tmf.checkPermissions(req, res);
Expand Down

0 comments on commit 8599b07

Please sign in to comment.