summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qopcuaclient/tst_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qopcuaclient/tst_client.cpp b/tests/auto/qopcuaclient/tst_client.cpp
index df3dc46..c539833 100644
--- a/tests/auto/qopcuaclient/tst_client.cpp
+++ b/tests/auto/qopcuaclient/tst_client.cpp
@@ -1491,7 +1491,7 @@ void Tst_QOpcUaClient::readArray()
QSKIP("XmlElement support is not yet implemented in the freeopcua backend");
QScopedPointer<QOpcUaNode> xmlElementArrayNode(opcuaClient->node("ns=2;s=Demo.Static.Arrays.XmlElement"));
- QVERIFY(nodeIdArrayNode != 0);
+ QVERIFY(xmlElementArrayNode != 0);
READ_MANDATORY_VARIABLE_NODE(xmlElementArrayNode)
QVariant xmlElementArray = xmlElementArrayNode->attribute(QOpcUa::NodeAttribute::Value);
QVERIFY(xmlElementArray.type() == QVariant::List);