fix(test): adapt updated error message strings

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
This commit is contained in:
Jyrki Gadinger 2025-10-13 08:38:03 +02:00
parent 335015fa2d
commit 224c9b1f12
2 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ private slots:
FakeFolder fakeFolder{FileInfo::A12_B12_C12_S12()};
fakeFolder.remoteModifier().insert("A/resendme", 300);
QByteArray serverMessage = "An unexpected error occurred. Please try syncing again or contact contact your server administrator if the issue continues.";
QByteArray serverMessage = "An unexpected error occurred. Please try syncing again or contact your server administrator if the issue continues.";
int resendActual = 0;
int resendExpected = 2;

View File

@ -68,7 +68,7 @@ private slots:
QTest::addColumn<QString>("expectedErrorString");
QTest::addColumn<bool>("syncSucceeds");
const auto itemErrorMessage = "An unexpected error occurred. Please try syncing again or contact contact your server administrator if the issue continues.";
const auto itemErrorMessage = "An unexpected error occurred. Please try syncing again or contact your server administrator if the issue continues.";
QTest::newRow("400") << 400 << QStringLiteral("We couldnt process your request. Please try syncing again later. If this keeps happening, contact your server administrator for help.") << false;
QTest::newRow("401") << 401 << QStringLiteral("You need to sign in to continue. If you have trouble with your credentials, please reach out to your server administrator.") << false;