mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
fixing unit test for column-sort
after adding the translate directive
This commit is contained in:
parent
1edc688acb
commit
4e077e2b95
@ -40,6 +40,10 @@ describe('Directive: column-sort', () =>{
|
||||
|
||||
this.$stateParams = {};
|
||||
|
||||
var mockFilter = function (value) {
|
||||
return value;
|
||||
};
|
||||
|
||||
angular.mock.module('ColumnSortModule', ($provide) =>{
|
||||
|
||||
QuerySet = jasmine.createSpyObj('qs', ['search']);
|
||||
@ -49,6 +53,7 @@ describe('Directive: column-sort', () =>{
|
||||
$provide.value('GetBasePath', GetBasePath);
|
||||
$provide.value('$state', this.$state);
|
||||
$provide.value('$stateParams', this.$stateParams);
|
||||
$provide.value("translateFilter", mockFilter);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user