2021-05-07 12:06:29 +00:00
|
|
|
# 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 sqlite" {
|
2024-11-19 14:09:13 +00:00
|
|
|
run bash -c "sudo docker compose logs $batsContainerName | grep -E \"Connecting to \[SQLite3\] \/usr\/local\/var\/lib\/prosody\/prosody\.sqlite\.\.\.\""
|
2021-05-07 12:06:29 +00:00
|
|
|
assert_success
|
|
|
|
assert_output
|
|
|
|
}
|