mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 01:55:29 +02:00
tests(refactor): Improve consistency and documentation for test helpers (#3012)
This commit is contained in:
parent
fb82082cf1
commit
e3c4ef76c6
32 changed files with 936 additions and 656 deletions
|
@ -1,5 +1,5 @@
|
|||
load "${REPOSITORY_ROOT}/test/helper/common"
|
||||
load "${REPOSITORY_ROOT}/test/helper/setup"
|
||||
load "${REPOSITORY_ROOT}/test/helper/common"
|
||||
|
||||
# Tests the `setup.sh` companion script.
|
||||
# Only test coverage below is that the config path `-p` and image `-i` options work as intended.
|
||||
|
@ -12,7 +12,7 @@ function setup_file() {
|
|||
|
||||
# Copy the base config that `setup.sh` will volume mount to a container it runs:
|
||||
export TEST_TMP_CONFIG
|
||||
TEST_TMP_CONFIG=$(duplicate_config_for_container . 'no_container')
|
||||
TEST_TMP_CONFIG=$(_duplicate_config_for_container . 'no_container')
|
||||
}
|
||||
|
||||
@test "'setup.sh -p <PATH> -i <IMAGE>' should correctly use options" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue