fix target backward compatibility

This commit is contained in:
Alexander Zobnin
2017-07-26 12:11:12 +03:00
parent 4020710d00
commit 39f4db5182
10 changed files with 32 additions and 13 deletions

View File

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