diff options
author | Chris <github.account@chrigel.net> | 2018-01-29 17:48:41 +0100 |
---|---|---|
committer | Chris <github.account@chrigel.net> | 2018-01-29 17:48:41 +0100 |
commit | c355e1bb984061ec72ffb5a1f03639e03413763c (patch) | |
tree | 703af7b04b1a6d2f335706b7b313bd0d1b91f5af /tests | |
parent | 627d8b879a807bd443f788f08474da3952298bca (diff) |
Fixed a bug where solar consumption is 100% even though solar power is zero.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/node.d/fronius.parse.spec.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/node.d/fronius.parse.spec.js b/tests/node.d/fronius.parse.spec.js index facd9ce041..0dbfa030d5 100644 --- a/tests/node.d/fronius.parse.spec.js +++ b/tests/node.d/fronius.parse.spec.js @@ -237,6 +237,7 @@ describe("fronius parsing for autonomy", function () { it("should return 0 for solarConsumption if PV is null", function () { site.P_PV = null; + site.P_Load = -1000; var result = subject.parseAutonomyChart(service, site).dimensions[2]; expect(result.name).toBe(subject.solarConsumptionId); |