diff --git a/test/net/toxmedata_test.cpp b/test/net/toxmedata_test.cpp index 031e376df..e071bdc6a 100644 --- a/test/net/toxmedata_test.cpp +++ b/test/net/toxmedata_test.cpp @@ -160,7 +160,7 @@ void TestToxmeData::extractCode_data() QTest::newRow("String code") << QStringLiteral(R"({"c": "string here"})") << ToxmeData::ExecCode::IncorrectResponse; QTest::newRow("Invalid code") << QStringLiteral(R"({"c": text})") - << ToxmeData::ExecCode::IncorrectResponse; + << ToxmeData::ExecCode::ServerError; QTest::newRow("Not json") << QStringLiteral("Not json string") << ToxmeData::ExecCode::ServerError; }