diff options
author | Tasuku Suzuki <tasuku.suzuki@signal-slot.co.jp> | 2023-04-04 21:25:36 +0900 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-04-05 08:02:13 +0000 |
commit | 46ff3328df67a7d01a0d8fa3799a038ea82151f0 (patch) | |
tree | 7d66c6b92465e6123fad0fa66c4c6a64639dbf27 /tests | |
parent | 2efd6bc166915c69a08722c9e31914cdd6ce64db (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
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 3674ef3f8808649e3965be40bff4dc9bb4480070)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp | 3 |
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) { |