aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2021-12-14 12:28:31 +0100
committerMarco Bubke <marco.bubke@qt.io>2021-12-14 16:29:38 +0000
commit90bb92f327d73b8d8b563acfcab746025949f73b (patch)
tree75e77a9829757f4c998c38c63d90aa1cf61ccd54
parent94e91ccc253ecbefd88be81894ed17cb51fc875a (diff)
QmlDesigner: Fix broken test ListModelEditor.AddBooleanProperties
Task-number: QDS-5708 Change-Id: I9961838149da19e3ab8670652e9e246f92b67012 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
-rw-r--r--tests/unit/unittest/listmodeleditor-test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/unittest/listmodeleditor-test.cpp b/tests/unit/unittest/listmodeleditor-test.cpp
index 370472d11e..350944e612 100644
--- a/tests/unit/unittest/listmodeleditor-test.cpp
+++ b/tests/unit/unittest/listmodeleditor-test.cpp
@@ -1347,8 +1347,8 @@ TEST_F(ListModelEditor, AddBooleanProperties)
model.setValue(0, 1, true);
ASSERT_THAT(properties(),
- ElementsAre(UnorderedElementsAre(IsVariantProperty("name", "foo"),
- IsVariantProperty("value", true),
+ ElementsAre(UnorderedElementsAre(IsVariantProperty("name", true),
+ IsVariantProperty("value", 1),
IsVariantProperty("value2", 42)),
UnorderedElementsAre(IsVariantProperty("image", "pic.png"),
IsVariantProperty("name", "bar"),