Skip to content

Commit

Permalink
Add additional mock to unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
garethbowen committed Jan 25, 2019
1 parent 264f764 commit dc8030e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapp/tests/karma/unit/controllers/inbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ describe('InboxCtrl controller', () => {
$provide.value('DB', () => {
return {
query: KarmaUtils.nullPromise(),
info: KarmaUtils.nullPromise()
info: KarmaUtils.nullPromise(),
get: KarmaUtils.nullPromise(),
};
});
$provide.value('WatchDesignDoc', sinon.stub());
Expand Down

0 comments on commit dc8030e

Please sign in to comment.