Commit 9887f590 authored by David Redondo's avatar David Redondo 🏎
Browse files

Fix dbusApi test

The returned map also contains infos about containers and objects.
parent 0be080b1
......@@ -158,7 +158,7 @@ void KStatsTest::dbusApi()
auto pendingSensors = iface.allSensors();
auto sensors = pendingSensors.value();
QVERIFY(sensors.count() == 2);
QVERIFY(sensors.count() == 4);
// test metadata
QCOMPARE(sensors["testContainer/testObject/property1"].name, "Some Sensor Name 1");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment