mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
Fix system tracking test
This commit is contained in:
@@ -23,12 +23,19 @@ describeModule(systemTracking.name)
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
var actual = service.getVersion(host_id, module, start, end);
|
var actual = service.getVersion(
|
||||||
|
{ hostId: host_id,
|
||||||
|
moduleName: module,
|
||||||
|
dateRange:
|
||||||
|
{ from: start,
|
||||||
|
to: end
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
restStub.succeed(result);
|
restStub.succeed(result);
|
||||||
restStub.flush();
|
restStub.flush();
|
||||||
|
|
||||||
return expect(actual).to.eventually.equal(version[0]);
|
return expect(actual).to.eventually.equal(version);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user