mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 06:26:00 -03:30
Display job status graph in directive instead of widget
This commit is contained in:
@@ -69,7 +69,7 @@ describe('Job Status Graph Data Service', function() {
|
||||
|
||||
var result = jobStatusGraphData.get('', '');
|
||||
|
||||
restStub.succeed(firstResult);
|
||||
restStub.succeed({ data: firstResult });
|
||||
|
||||
flushPromises();
|
||||
|
||||
@@ -97,7 +97,7 @@ describe('Job Status Graph Data Service', function() {
|
||||
result.resolve(data);
|
||||
});
|
||||
$rootScope.$emit('JobStatusChange');
|
||||
restStub.succeed(expected);
|
||||
restStub.succeed({ data: expected });
|
||||
flushPromises();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user