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