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
path: root/test
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-01-16 19:42:05 +0300
committerHannah von Reth <vonreth@kde.org>2020-01-24 16:00:43 +0300
commite113f8069ed14e6352f1fe93d68a39f09dc97a74 (patch)
treeeb9ea05d69b4d7749809ec44e001515bea76fea2 /test
parentd0943439b7e6b6c001e3097471927358a14ad0cc (diff)
Oauth: Cleanup
Diffstat (limited to 'test')
-rw-r--r--test/testoauth.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testoauth.cpp b/test/testoauth.cpp
index 31320e5fd..df0b74d75 100644
--- a/test/testoauth.cpp
+++ b/test/testoauth.cpp
@@ -199,7 +199,7 @@ public:
{ "access_token", "123" },
{ "refresh_token" , "456" },
{ "message_url", "owncloud://success"},
- { "user_id", "789" },
+ { "user_id", "admin" },
{ "token_type", "Bearer" }
});
return jsondata.toJson();
@@ -208,7 +208,7 @@ public:
virtual void oauthResult(OAuth::Result result, const QString &user, const QString &token , const QString &refreshToken) {
QCOMPARE(state, TokenAsked);
QCOMPARE(result, OAuth::LoggedIn);
- QCOMPARE(user, QString("789"));
+ QCOMPARE(user, QString("admin"));
QCOMPARE(token, QString("123"));
QCOMPARE(refreshToken, QString("456"));
gotAuthOk = true;