diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2020-01-16 19:42:05 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2020-01-24 16:00:43 +0300 |
commit | e113f8069ed14e6352f1fe93d68a39f09dc97a74 (patch) | |
tree | eb9ea05d69b4d7749809ec44e001515bea76fea2 /test | |
parent | d0943439b7e6b6c001e3097471927358a14ad0cc (diff) |
Oauth: Cleanup
Diffstat (limited to 'test')
-rw-r--r-- | test/testoauth.cpp | 4 |
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; |