quick fix karma test.

pull/5433/head
Wieland Lindenthal 8 years ago
parent b992ab0c4c
commit 58b6db4926
  1. 8
      frontend/tests/unit/tests/work_packages/controllers/menus/options-dropdown-menu-controller-test.js

@ -86,6 +86,13 @@ describe('optionsDropdown Directive', function() {
}
};
wpEditModeState = {
form: {
inEditMode: false,
workPackage: {}
}
}
$provide.constant('wpTableSum', wpTableSum);
$provide.constant('wpTableHierarchies', wpTableHierarchies);
$provide.constant('wpTableGroupBy', wpTableGroupBy);
@ -94,6 +101,7 @@ describe('optionsDropdown Directive', function() {
$provide.constant('groupingModal', groupByModal);
$provide.constant('exportModal', exportModal);
$provide.constant('states', states);
$provide.constant('wpEditModeState', wpEditModeState);
}));
beforeEach(inject(function($rootScope, $compile) {

Loading…
Cancel
Save