mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-01-18 13:10:37 +00:00
add tests for new modules
This commit is contained in:
parent
d1db0837ec
commit
b6af9f8cb5
1 changed files with 17 additions and 5 deletions
|
@ -94,8 +94,20 @@ load 'bats/bats-assert/load'
|
||||||
assert_output
|
assert_output
|
||||||
}
|
}
|
||||||
|
|
||||||
# TODO Add tests for register_apps etc
|
@test "Should serve register_apps" {
|
||||||
# Serving 'register_apps' at https://localhost:5281/register_apps
|
run bash -c "sudo docker-compose logs | grep \"Serving 'register_apps' at https:\/\/localhost:5281\/register_apps\""
|
||||||
#prosody_1 | localhost:http debug Serving 'register_apps' at https://localhost/register_apps
|
assert_success
|
||||||
#prosody_1 | localhost:http debug Serving 'invites_page' at https://localhost/invite
|
assert_output
|
||||||
#prosody_1 | localhost:http debug Serving 'invites_register_web' at https://localhost/register
|
}
|
||||||
|
|
||||||
|
@test "Should serve invites_page" {
|
||||||
|
run bash -c "sudo docker-compose logs | grep \"Serving 'invites_page' at https:\/\/localhost:5281\/invite\""
|
||||||
|
assert_success
|
||||||
|
assert_output
|
||||||
|
}
|
||||||
|
|
||||||
|
@test "Should serve invites_register_web" {
|
||||||
|
run bash -c "sudo docker-compose logs | grep \"Serving 'invites_register_web' at https:\/\/localhost:5281\/register\""
|
||||||
|
assert_success
|
||||||
|
assert_output
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue