mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
fix(test): adapt updated error message strings
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
This commit is contained in:
parent
335015fa2d
commit
224c9b1f12
@ -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;
|
||||
|
||||
|
||||
@ -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 couldn’t 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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user