fix device count in test

This commit is contained in:
Simon Stürz 2016-04-06 16:32:27 +02:00 committed by Michael Zanetti
parent 0492306f3b
commit 6a60dbe2af

View File

@ -301,7 +301,7 @@ void TestDevices::getConfiguredDevices()
QVariant response = injectAndWait("Devices.GetConfiguredDevices");
QVariantList devices = response.toMap().value("params").toMap().value("devices").toList();
QCOMPARE(devices.count(), 3); // There should be one auto created mock device, one auto today device and the one created in initTestcase()
QCOMPARE(devices.count(), 2); // There should be one auto created mock device and one created in initTestcase()
}
void TestDevices::storedDevices()