summaryrefslogtreecommitdiffstats
path: root/tests/node.d/fronius.chart.spec.js
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2018-03-27 21:28:21 +0000
committerFederico Ceratto <federico.ceratto@gmail.com>2018-03-27 21:28:21 +0000
commitd4dd00f58a502c9ca4b63e36ce6bc7a9945dc63c (patch)
treefaac99f51f182bb8c0a03e95e393d421ac9ddf42 /tests/node.d/fronius.chart.spec.js
parentNew upstream version 1.9.0+dfsg (diff)
downloadnetdata-d4dd00f58a502c9ca4b63e36ce6bc7a9945dc63c.tar.xz
netdata-d4dd00f58a502c9ca4b63e36ce6bc7a9945dc63c.zip
New upstream version 1.10.0+dfsgupstream/1.10.0+dfsg
Diffstat (limited to '')
-rw-r--r--tests/node.d/fronius.chart.spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/node.d/fronius.chart.spec.js b/tests/node.d/fronius.chart.spec.js
index 5404e82f5..2d2b57cde 100644
--- a/tests/node.d/fronius.chart.spec.js
+++ b/tests/node.d/fronius.chart.spec.js
@@ -68,7 +68,7 @@ describe("fronius chart creation", function () {
expect(result.type).toBe(netdata.chartTypes.area);
expect(result.family).toBe("autonomy");
expect(result.context).toBe("fronius.autonomy");
- expect(Object.keys(result.dimensions).length).toBe(2);
+ expect(Object.keys(result.dimensions).length).toBe(3);
expect(result.dimensions[subject.autonomyId].name).toBe("autonomy");
expect(result.dimensions[subject.consumptionSelfId].name).toBe("self_consumption");
});