diff options
-rw-r--r-- | tests/auto/qwebsocket/tst_qwebsocket.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qwebsocket/tst_qwebsocket.cpp b/tests/auto/qwebsocket/tst_qwebsocket.cpp index cb4b6bf..f993f84 100644 --- a/tests/auto/qwebsocket/tst_qwebsocket.cpp +++ b/tests/auto/qwebsocket/tst_qwebsocket.cpp @@ -593,6 +593,7 @@ void tst_QWebSocket::tst_openRequest() req.setRawHeader("X-Custom-Header", "A custom header"); socket.open(req); + QTRY_COMPARE(socketConnectedSpy.count(), 1); QTRY_COMPARE(serverRequestSpy.count(), 1); QCOMPARE(socket.state(), QAbstractSocket::ConnectedState); QList<QVariant> arguments = serverRequestSpy.takeFirst(); |