mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 18:15:29 +02:00
tests: remove legacy functions / tests (#2434)
This commit is contained in:
parent
4203afec3f
commit
6d1c740310
28 changed files with 0 additions and 466 deletions
|
@ -40,23 +40,10 @@ function setup_file() {
|
|||
# function teardown_file() {
|
||||
# }
|
||||
|
||||
# Applies per test:
|
||||
function setup() {
|
||||
run_setup_file_if_necessary
|
||||
}
|
||||
|
||||
function teardown() {
|
||||
docker rm -f "${TEST_NAME}"
|
||||
run_teardown_file_if_necessary
|
||||
}
|
||||
|
||||
|
||||
# this test must come first to reliably identify when to run setup_file
|
||||
@test "first" {
|
||||
skip 'Starting testing of letsencrypt SSL'
|
||||
}
|
||||
|
||||
|
||||
# Should detect and choose the cert for FQDN `mail.example.test` (HOSTNAME):
|
||||
@test "ssl(letsencrypt): Should default to HOSTNAME (mail.example.test)" {
|
||||
local TARGET_DOMAIN='mail.example.test'
|
||||
|
@ -193,13 +180,6 @@ function teardown() {
|
|||
_acme_wildcard
|
||||
}
|
||||
|
||||
|
||||
# this test is only there to reliably mark the end for the teardown_file
|
||||
@test "last" {
|
||||
skip 'Finished testing of letsencrypt SSL'
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# Test Methods
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue