diff --git a/tests/unit/tests/unittests/model/modelresourcemanagement-test.cpp b/tests/unit/tests/unittests/model/modelresourcemanagement-test.cpp index 371c048f0dc..c5f5ebd7326 100644 --- a/tests/unit/tests/unittests/model/modelresourcemanagement-test.cpp +++ b/tests/unit/tests/unittests/model/modelresourcemanagement-test.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -48,6 +49,11 @@ protected: { model.attachView(&viewMock); rootNode = model.rootModelNode(); + auto itemId = rootNode.metaInfo().id(); + projectStorageMock.createProperty(itemId, + "layer.effect", + QmlDesigner::Storage::PropertyDeclarationTraits::IsList, + itemId); } auto createNodeWithParent(const QmlDesigner::TypeName &typeName,