summaryrefslogtreecommitdiffstats
path: root/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp
diff options
context:
space:
mode:
authorTarja Sundqvist <tarja.sundqvist@qt.io>2023-06-09 17:08:44 +0300
committerTarja Sundqvist <tarja.sundqvist@qt.io>2023-06-09 17:08:44 +0300
commitf0c98c39447894bba493aa91c65053d7f18d68cb (patch)
treeb895c2a764b5c77edd75ae7af5d4336191a8301c /tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp
parente2dd32305ec52c96518a4357423d546c7c66f9a6 (diff)
parent807c62ddee0749b68458654f7d37b28aceca6359 (diff)
Merge remote-tracking branch 'origin/tqtc/lts-5.15.11' into tqtc/lts-5.15-opensourcev5.15.11-lts-lgpl
Diffstat (limited to 'tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp')
-rw-r--r--tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp b/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp
index 9e0dfc54..f7db73f6 100644
--- a/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp
+++ b/tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp
@@ -511,7 +511,7 @@ void tst_QBluetoothSocket::tst_preferredSecurityFlags()
#elif QT_CONFIG(bluez)
// The bluezdbus socket uses "NoSecurity" by default, whereas the non-dbus bluez
// socket uses "Authorization" by default
- if (bluetoothdVersion() >= QVersionNumber(5, 42))
+ if (bluetoothdVersion() >= QVersionNumber(5, 46))
QCOMPARE(socket.preferredSecurityFlags(), QBluetooth::Security::NoSecurity);
else
QCOMPARE(socket.preferredSecurityFlags(), QBluetooth::Security::Authorization);
@@ -577,4 +577,3 @@ void tst_QBluetoothSocket::tst_unsupportedProtocolError()
QTEST_MAIN(tst_QBluetoothSocket)
#include "tst_qbluetoothsocket.moc"
-