mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-31 07:09:57 +02:00
Apply suggestions from code review
This commit is contained in:
parent
efa4563d54
commit
22bf742a33
2 changed files with 12 additions and 9 deletions
|
@ -45,7 +45,7 @@ function setup_file() {
|
|||
CONTAINER_NAME=${CONTAINER3_NAME}
|
||||
_init_with_defaults
|
||||
local CUSTOM_SETUP_ARGUMENTS=(
|
||||
--env TEST__FILE="${FILEPATH_INVALID}"
|
||||
--env ENABLE_POP3__FILE="${FILEPATH_INVALID}"
|
||||
)
|
||||
_common_container_setup 'CUSTOM_SETUP_ARGUMENTS'
|
||||
}
|
||||
|
@ -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 defined for secret 'TEST' with path '${FILEPATH_INVALID}' does not exist"
|
||||
assert_line --partial "File defined for secret 'ENABLE_POP3' with path '${FILEPATH_INVALID}' does not exist"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue