Remove modules from Dockerfile which are already part of core modules (#66)

See https://prosody.im/doc/modules.

Add test to check if log contains warnings

This fixes https://github.com/SaraSmiseth/prosody/issues/63.
This commit is contained in:
Sara Aimée Smiseth 2024-03-04 17:46:15 +01:00 committed by GitHub
parent 74c64514e2
commit 0e33f70739
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View file

@ -91,3 +91,8 @@ load 'bats/bats-assert/load'
run bash -c "sudo docker-compose exec $batsContainerName /bin/bash -c \"/entrypoint.bash check\" | grep 'deprecated' -A 3"
assert_failure
}
@test "Should not have warnings in log" {
run bash -c "sudo docker-compose logs $batsContainerName | grep -E \"warn\""
assert_failure
}