mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 18:15:29 +02:00
tests: Update submodules for bats (#2715)
* tests: Update testing submodules (bats-assert, bats-support) These two submodules were migrated to the `bats-core` organization, where they continued to receive updates. * tests: Use tagged release of `bats-core/bats-support` This is technically one commit backwards, but no relevant difference has been made since, other than moving the submodule to the `bats-core` organization. * tests: Bump `bats-assert` to August 2022 (master) No official release tag since Nov 2018, but a fair amount of changes since then. * tests: Bump `bats-core` to `v1.7.0` release * tests(fix): Correctly use assertions Some tests were updated as the upgrade of bats submodules had `assert` methods raise awareness of incorrect usage. This additionally revealed some existing tests that weren't meant to be using `run`, which swallowed failures from surfacing.
This commit is contained in:
parent
2d0f5a0791
commit
0d5f550bdf
6 changed files with 13 additions and 19 deletions
|
@ -649,8 +649,7 @@ EOF
|
|||
|
||||
[[ ${initialpass} != "${changepass}" ]]
|
||||
|
||||
docker exec mail /bin/sh -c "delmailuser -y auser3@domain.tld"
|
||||
|
||||
run docker exec mail /bin/sh -c "delmailuser -y auser3@domain.tld"
|
||||
assert_success
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue