summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/AuthorizationTest.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/AuthorizationTest.qml')
-rw-r--r--tests/auto/declarative/AuthorizationTest.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/AuthorizationTest.qml b/tests/auto/declarative/AuthorizationTest.qml
index 00d14de..c4d680d 100644
--- a/tests/auto/declarative/AuthorizationTest.qml
+++ b/tests/auto/declarative/AuthorizationTest.qml
@@ -82,7 +82,7 @@ Item {
if (children[i].objectName == "TestCase")
availableTestCases += 1;
}
- serverDiscovery.discoveryUrl = "opc.tcp://127.0.0.1:43344";
+ serverDiscovery.discoveryUrl = OPCUA_DISCOVERY_URL;
}
QtOpcUa.ValueNode {
@@ -111,7 +111,7 @@ Item {
authInfo.setUsernameAuthentication("user1", "password");
connection.authenticationInformation = authInfo;
- serverDiscovery.discoveryUrl = "opc.tcp://127.0.0.1:43344";
+ serverDiscovery.discoveryUrl = OPCUA_DISCOVERY_URL;
connection1ConnectedSpy.wait();
verify(connection.connected);