diff options
author | Tarja Sundqvist <tarja.sundqvist@qt.io> | 2023-06-09 17:08:44 +0300 |
---|---|---|
committer | Tarja Sundqvist <tarja.sundqvist@qt.io> | 2023-06-09 17:08:44 +0300 |
commit | f0c98c39447894bba493aa91c65053d7f18d68cb (patch) | |
tree | b895c2a764b5c77edd75ae7af5d4336191a8301c /tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp | |
parent | e2dd32305ec52c96518a4357423d546c7c66f9a6 (diff) | |
parent | 807c62ddee0749b68458654f7d37b28aceca6359 (diff) |
Merge remote-tracking branch 'origin/tqtc/lts-5.15.11' into tqtc/lts-5.15-opensourcev5.15.11-lts-lgpl
Change-Id: I0445e0f773a4a9fff593002859a9fdea779796e7
Diffstat (limited to 'tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp')
-rw-r--r-- | tests/auto/qbluetoothsocket/tst_qbluetoothsocket.cpp | 3 |
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" - |