aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlxmlhttprequest
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@signal-slot.co.jp>2023-04-04 21:25:36 +0900
committerTasuku Suzuki <tasuku.suzuki@signal-slot.co.jp>2023-04-05 14:41:12 +0900
commit3674ef3f8808649e3965be40bff4dc9bb4480070 (patch)
tree05f33b33949eb50d0836988a41fc47d34ccdd793 /tests/auto/qml/qqmlxmlhttprequest
parent21386f4df78136a69d5bb8aa9d758371ed1ba30a (diff)
tst_qqmlxmlhttprequest: remove unneeded property set in redirects
"expectedText" is not defined in the files below - redirects.qml - redirectError.qml - redirectRecur.qml Change-Id: Ib07f72fc902b90286ec709399216be7b2fce392a Pick-to: 6.5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlxmlhttprequest')
-rw-r--r--tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp b/tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp
index 6517c58670..4730d7233c 100644
--- a/tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp
+++ b/tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp
@@ -1323,7 +1323,6 @@ void tst_qqmlxmlhttprequest::redirects()
QScopedPointer<QObject> object(component.beginCreate(engine.get()->rootContext()));
QVERIFY(!object.isNull());
object->setProperty("url", server.urlString("/redirect.html"));
- object->setProperty("expectedText", "");
component.completeCreate();
QTRY_VERIFY(object->property("done").toBool());
@@ -1340,7 +1339,6 @@ void tst_qqmlxmlhttprequest::redirects()
QScopedPointer<QObject> object(component.beginCreate(engine.get()->rootContext()));
QVERIFY(!object.isNull());
object->setProperty("url", server.urlString("/redirect.html"));
- object->setProperty("expectedText", "");
component.completeCreate();
QTRY_VERIFY(object->property("done").toBool());
@@ -1357,7 +1355,6 @@ void tst_qqmlxmlhttprequest::redirects()
QScopedPointer<QObject> object(component.beginCreate(engine.get()->rootContext()));
QVERIFY(!object.isNull());
object->setProperty("url", server.urlString("/redirect.html"));
- object->setProperty("expectedText", "");
component.completeCreate();
for (int ii = 0; ii < 60; ++ii) {