Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rladdusaw committed Jun 20, 2018
1 parent 2419dc6 commit 779da33
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/abstractPagedController.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
app.controller('AbstractPagedController', function ($controller, $scope, $q, FeatureProposal, FeatureProposalRepo, IdeaRepo, ServiceRepo) {
app.controller('AbstractPagedController', function ($controller, $scope, $q) {

angular.extend(this, $controller('AbstractController', {
$scope: $scope
Expand Down
11 changes: 11 additions & 0 deletions tests/mocks/repo/mockServiceRepo.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,15 @@ angular.module('mock.serviceRepo', []).service('ServiceRepo', function ($q) {
return defer.promise;
};

ServiceRepo.getPageSettings = function () {
return {
sort: [
{
property: 'name',
direction: 'ASC'
}
]
};
};

});

0 comments on commit 779da33

Please sign in to comment.