chore: Update OAuth2 to use new log helper

This commit is contained in:
Brennan Kinney 2024-01-21 13:51:17 +13:00 committed by GitHub
parent 1b98de4862
commit 5da61f97ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ function __verify_successful_login() {
local AUTH_METHOD=${1}
# Inspect the relevant Dovecot logs to catch failure / success:
_run_in_container grep 'dovecot:' /var/log/mail.log
_service_log_should_contain_string 'mail' 'dovecot:'
refute_output --partial 'oauth2 failed: Introspection failed'
assert_output --partial "dovecot: imap-login: Login: user=<user1@localhost.localdomain>, method=${AUTH_METHOD}"
}