mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-03 17:44:49 +02:00
feat: update tests to match the new logs
This commit is contained in:
parent
e8fc478396
commit
efa4563d54
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ function teardown_file() {
|
|||
# Relevant log content only available via docker logs:
|
||||
run docker logs "${CONTAINER_NAME}"
|
||||
assert_success
|
||||
assert_line --partial "Getting secret ENABLE_POP3 from ${FILEPATH_VALID}"
|
||||
assert_line --partial "Getting secret 'ENABLE_POP3' from '${FILEPATH_VALID}'"
|
||||
|
||||
# Verify ENABLE_POP3 was enabled (disabled by default), by checking this file path is valid:
|
||||
_run_in_container [ -f /etc/dovecot/protocols.d/pop3d.protocol ]
|
||||
|
@ -85,5 +85,5 @@ function teardown_file() {
|
|||
# Relevant log content only available via docker logs:
|
||||
run docker logs "${CONTAINER_NAME}"
|
||||
assert_success
|
||||
assert_line --partial "File ${FILEPATH_INVALID} does not exist"
|
||||
assert_line --partial "File defined for secret 'TEST' with path '${FILEPATH_INVALID}' does not exist"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue