diff options
Diffstat (limited to 'tests/tests.cpp')
| -rw-r--r-- | tests/tests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp index f7bb98af..b0eeed0a 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -941,16 +941,16 @@ public: }; /// Retrieves the password for the given username. - bool getPassword(const QString &username, const QString &domain, QString &password) + Error getPassword(const QString &username, const QString &domain, QString &password) { Q_UNUSED(domain); if (username == m_username) { password = m_password; - return true; + return NoError; } else { - return false; + return AuthorizationError; } }; |
