diff --git a/awx/ui/tests/unit/system-tracking/single-host-data.service-test.js b/awx/ui/tests/unit/system-tracking/single-host-data.service-test.js index 3a8ab37660..57fd91c444 100644 --- a/awx/ui/tests/unit/system-tracking/single-host-data.service-test.js +++ b/awx/ui/tests/unit/system-tracking/single-host-data.service-test.js @@ -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.flush(); - return expect(actual).to.eventually.equal(version[0]); + return expect(actual).to.eventually.equal(version); });