summaryrefslogtreecommitdiff
path: root/tests/src/imap/basic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/imap/basic.rs')
-rw-r--r--tests/src/imap/basic.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/imap/basic.rs b/tests/src/imap/basic.rs
index acaedb86..f3509f4d 100644
--- a/tests/src/imap/basic.rs
+++ b/tests/src/imap/basic.rs
@@ -4,7 +4,7 @@
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-SEL
*/
-use imap::op::authenticate::decode_challenge_oauth;
+use common::auth::sasl::sasl_decode_challenge_oauth;
use imap_proto::ResponseType;
use mail_parser::decoders::base64::base64_decode;
use mail_send::Credentials;
@@ -44,7 +44,7 @@ fn decode_challenge() {
assert!(
Credentials::OAuthBearer {
token: "vF9dft4qmTc2Nvb3RlckBhbHRhdmlzdGEuY29tCg==".to_string()
- } == decode_challenge_oauth(
+ } == sasl_decode_challenge_oauth(
&base64_decode(
concat!(
"bixhPXVzZXJAZXhhbXBsZS5jb20sAWhv",