Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
willdoran committed Oct 20, 2016
1 parent ee66e3d commit 4ac4393
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/unit/mock/mock-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ angular.module('ushahidi.mock', [])
.service('PostViewService', require('./services/post-view-service.js'))
.service('PostMetadataService', require('./services/post-metadata-service.js'))
.service('Notify', require('./services/notify.js'))
.service('SurveyNotify', require('./services/survey-notify.js'))
.service('ImportNotify', require('./services/importnotify.js'))
.service('PostSurveyService', require('./services/post-survey-service.js'))

Expand Down
11 changes: 11 additions & 0 deletions test/unit/mock/services/survey-notify.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = [function () {
return {
success: function (message) {
return {
then: function (successCallback) {
successCallback();
}
};
}
};
}];

0 comments on commit 4ac4393

Please sign in to comment.