From 6a60dbe2af5f55c923b75bd9a20587e71dc93937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Wed, 6 Apr 2016 16:32:27 +0200 Subject: [PATCH] fix device count in test --- tests/auto/devices/testdevices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/devices/testdevices.cpp b/tests/auto/devices/testdevices.cpp index 446ddfb8..a8ceb96e 100644 --- a/tests/auto/devices/testdevices.cpp +++ b/tests/auto/devices/testdevices.cpp @@ -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()