mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 10:41:05 -03:30
Fix failing tests.
This commit is contained in:
@@ -18,7 +18,7 @@ describe('Controller: workflowResults', () => {
|
|||||||
|
|
||||||
beforeEach(angular.mock.module('workflowResults', ($provide) => {
|
beforeEach(angular.mock.module('workflowResults', ($provide) => {
|
||||||
['PromptDialog', 'Prompt', 'Wait', 'Rest', '$state', 'ProcessErrors',
|
['PromptDialog', 'Prompt', 'Wait', 'Rest', '$state', 'ProcessErrors',
|
||||||
'jobLabels', 'workflowNodes', 'count', 'WorkflowJobModel',
|
'jobLabels', 'workflowNodes', 'count', 'WorkflowJobModel', 'ComponentsStrings'
|
||||||
].forEach((item) => {
|
].forEach((item) => {
|
||||||
$provide.value(item, {});
|
$provide.value(item, {});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ describe('workflowResultsService', () => {
|
|||||||
let $interval;
|
let $interval;
|
||||||
|
|
||||||
beforeEach(angular.mock.module('workflowResults', ($provide) => {
|
beforeEach(angular.mock.module('workflowResults', ($provide) => {
|
||||||
['PromptDialog', 'Prompt', 'Wait', 'Rest', 'ProcessErrors', '$state', 'WorkflowJobModel']
|
['PromptDialog', 'Prompt', 'Wait', 'Rest', 'ProcessErrors', '$state', 'WorkflowJobModel', 'ComponentsStrings']
|
||||||
.forEach(function(item) {
|
.forEach(function(item) {
|
||||||
$provide.value(item, {});
|
$provide.value(item, {});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user