diff --git a/awx/ui/tests/spec/job-results/job-results.controller-test.js b/awx/ui/tests/spec/job-results/job-results.controller-test.js index e978e12449..aec74d8edc 100644 --- a/awx/ui/tests/spec/job-results/job-results.controller-test.js +++ b/awx/ui/tests/spec/job-results/job-results.controller-test.js @@ -212,6 +212,9 @@ describe('Controller: jobResultsController', () => { }); it('should set scope variables based on options', () => { + $scope.job_status = jobData.status; + + $scope.$apply(); expect($scope.status_label).toBe("New"); expect($scope.type_label).toBe("Playbook Run"); expect($scope.verbosity_label).toBe("0 (Normal)");