Revision 6f5e909f
Added by Walden Raines about 10 years ago
engines/bastion/test/sync-plans/sync-plans.controller.test.js | ||
---|---|---|
|
||
describe('Controller: SyncPlansController', function() {
|
||
var $scope,
|
||
gettext,
|
||
translate,
|
||
Nutupane,
|
||
SyncPlan;
|
||
|
||
... | ... | |
this.removeRow = function () {};
|
||
};
|
||
|
||
gettext = function (string) {
|
||
translate = function (string) {
|
||
return string;
|
||
};
|
||
|
||
... | ... | |
$controller('SyncPlansController', {
|
||
$scope: $scope,
|
||
$location: $location,
|
||
gettext: gettext,
|
||
translate: translate,
|
||
Nutupane: Nutupane,
|
||
SyncPlan: SyncPlan,
|
||
CurrentOrganization: 'CurrentOrganization'
|
Also available in: Unified diff
Fixes #4785, replace gettext with translate for extraction/replacement.