mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Merge pull request #4499 from jlmitch5/fixUiUnitTests
fixed job results controller test get labels function
This commit is contained in:
commit
c48a2cad2e
@ -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)");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user