diff --git a/test/testclientsideencryptionv2.cpp b/test/testclientsideencryptionv2.cpp index a2ca13deb07a6..be0e38b38dc24 100644 --- a/test/testclientsideencryptionv2.cpp +++ b/test/testclientsideencryptionv2.cpp @@ -86,7 +86,7 @@ private slots: privateKey = e2etestsfakecertprivatekey.readAll(); } - QVERIFY(cert.isNull()); + QVERIFY(!cert.isNull()); QVERIFY(!publicKey.isNull()); QVERIFY(!privateKey.isEmpty());