Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2022-05-24 16:07:36 +0300
committerHannah von Reth <vonreth@kde.org>2022-05-25 15:21:44 +0300
commite81625c9706ac5280fed65f6b8af141963860072 (patch)
tree9ce22eeb4bc3c88c834921818627c253b0bbdb57 /test/testutils
parent0ae84fad0d718b084dc5bcefc2098ce4f4b8b7a3 (diff)
Use ocis productversion
Diffstat (limited to 'test/testutils')
-rw-r--r--test/testutils/testutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testutils/testutils.cpp b/test/testutils/testutils.cpp
index 5a2493f59..32471dba2 100644
--- a/test/testutils/testutils.cpp
+++ b/test/testutils/testutils.cpp
@@ -32,7 +32,6 @@ namespace TestUtils {
acc->setCredentials(cred);
acc->setUrl(QUrl(QStringLiteral("http://localhost/owncloud")));
acc->setDavDisplayName(QStringLiteral("fakename") + acc->uuid().toString(QUuid::WithoutBraces));
- acc->setServerInfo(QStringLiteral("10.0.0"), QStringLiteral("FakeServer"));
acc->setCapabilities(OCC::TestUtils::testCapabilities());
OCC::AccountManager::instance()->addAccount(acc);
return acc;
@@ -87,6 +86,7 @@ namespace TestUtils {
const QVariantMap testCapabilities()
{
return {
+ { "core", QVariantMap { { "status", QVariantMap { { "installed", "1" }, { "maintenance", "0" }, { "needsDbUpgrade", "0" }, { "version", "10.11.0.0" }, { "versionstring", "10.11.0" }, { "edition", "Community" }, { "productname", "Infinite Scale" }, { "product", "Infinite Scale" }, { "productversion", "2.0.0-beta1+7c2e3201b" } } } } },
{ "files", QVariantList {} },
{ "dav", QVariantMap { { "chunking", "1.0" } } },
{ "checksums", QVariantMap { { "preferredUploadType", "SHA1" }, { "supportedTypes", QVariantList { "SHA1", "MD5" } } } }