Fix unit tests after refactor

This commit is contained in:
Alexander Zobnin
2017-06-15 22:38:56 +03:00
parent 3bb3185155
commit 4a20651a04
3 changed files with 6 additions and 6 deletions

View File

@@ -66,7 +66,7 @@ describe('ZabbixDatasource', () => {
// Check that useTrends options is true
expect(ctx.ds.queryNumericData)
.to.have.been.calledWith(defined, defined, defined, true);
.to.have.been.calledWith(defined, defined, true);
});
done();
@@ -82,7 +82,7 @@ describe('ZabbixDatasource', () => {
// Check that useTrends options is false
expect(ctx.ds.queryNumericData)
.to.have.been.calledWith(defined, defined, defined, false);
.to.have.been.calledWith(defined, defined, false);
});
done();
});

View File

@@ -81,7 +81,7 @@ describe('ZabbixDatasource', function () {
ctx.ds.query(ctx.options);
// Check that useTrends options is true
expect(ctx.ds.queryNumericData).to.have.been.calledWith(defined, defined, defined, true);
expect(ctx.ds.queryNumericData).to.have.been.calledWith(defined, defined, true);
});
done();
@@ -96,7 +96,7 @@ describe('ZabbixDatasource', function () {
ctx.ds.query(ctx.options);
// Check that useTrends options is false
expect(ctx.ds.queryNumericData).to.have.been.calledWith(defined, defined, defined, false);
expect(ctx.ds.queryNumericData).to.have.been.calledWith(defined, defined, false);
});
done();
});