aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autotests/testkeyverification.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/testkeyverification.cpp b/autotests/testkeyverification.cpp
index 96aad6c7..1fa6d8c6 100644
--- a/autotests/testkeyverification.cpp
+++ b/autotests/testkeyverification.cpp
@@ -23,7 +23,7 @@ private Q_SLOTS:
QVERIFY(session->remoteDeviceId() == b->deviceId());
QVERIFY(session->state() == KeyVerificationSession::WAITINGFORREADY);
connectSingleShot(session, &KeyVerificationSession::stateChanged, this, [=](){
- QVERIFY(session->state() == KeyVerificationSession::ACCEPTED);
+ QVERIFY(session->state() == KeyVerificationSession::ACCEPTED || session->state() == KeyVerificationSession::READY);
connectSingleShot(session, &KeyVerificationSession::stateChanged, this, [=](){
QVERIFY(session->state() == KeyVerificationSession::WAITINGFORVERIFICATION);
session->sendMac();