mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-01-18 13:10:37 +00:00
982ddcd60b
* Move multiple defaults from entrypoint script to cfg.lua files. * Move remaining defaults from entrypoint script to cfg.lua files. * Update postgres version in tests * Register users with prosodyctl in tests * Replace 'docker-compose' with 'docker compose'
10 lines
317 B
Bash
10 lines
317 B
Bash
# For tests with pipes see: https://github.com/sstephenson/bats/issues/10
|
|
|
|
load 'bats/bats-support/load'
|
|
load 'bats/bats-assert/load'
|
|
|
|
@test "Should use postgres" {
|
|
run bash -c "sudo docker compose logs $batsContainerName | grep -E \"Connecting to \[PostgreSQL\] prosody\.\.\.\""
|
|
assert_success
|
|
assert_output
|
|
}
|