From 2045a50baabf0dee902d03985116782c22a26ee9 Mon Sep 17 00:00:00 2001 From: Alhuda Khan Date: Sat, 24 Oct 2026 11:37:07 +0530 Subject: [PATCH] test: make it clear the user's own password isn't used in ImapAuthAllowedHosts --- test/integration/tests/modules.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/integration/tests/modules.cpp b/test/integration/tests/modules.cpp index 2ec09b34..b4068d74 100644 --- a/test/integration/tests/modules.cpp +++ b/test/integration/tests/modules.cpp @@ -594,9 +594,10 @@ TEST_F(ZNCTest, ImapAuthAllowedHosts) { ASSERT_TRUE(imap.listen(QHostAddress::LocalHost)) << imap.errorString().toStdString(); QFile conf(m_dir.path() + "/configs/znc.conf"); ASSERT_TRUE(conf.open(QIODevice::Append | QIODevice::Text)); + // Pass is never checked here, imapauth asks the IMAP server instead QTextStream(&conf) << R"( - Pass = plain#hunter2 + Pass = plain#unused Allow = 203.0.113.0/24 )";