mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-28 10:51:49 -05:00
Fix unit tests after "slice" rename.
- Update Jobs List unit tests with new schema and test cases. - Update Job Details unit tests with new schema and test cases. - Test both for expected behavior when handling a regular non-sliced job.
This commit is contained in:
@@ -85,7 +85,11 @@ function ListJobsController (
|
||||
return null;
|
||||
}
|
||||
|
||||
return `Slice Job ${job.job_slice_number}/${job.job_slice_count}`;
|
||||
if (job.job_slice_number && job.job_slice_count) {
|
||||
return `Slice Job ${job.job_slice_number}/${job.job_slice_count}`;
|
||||
}
|
||||
|
||||
return null;
|
||||
};
|
||||
|
||||
vm.getSref = ({ type, id }) => {
|
||||
|
||||
Reference in New Issue
Block a user