forked from mirror/prosody
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
|
||||
}
|
||||
|
||||
# TODO Add tests for register_apps etc
|
||||
# Serving 'register_apps' at https://localhost:5281/register_apps
|
||||
#prosody_1 | localhost:http debug Serving 'register_apps' at https://localhost/register_apps
|
||||
#prosody_1 | localhost:http debug Serving 'invites_page' at https://localhost/invite
|
||||
#prosody_1 | localhost:http debug Serving 'invites_register_web' at https://localhost/register
|
||||
@test "Should serve register_apps" {
|
||||
run bash -c "sudo docker-compose logs | grep \"Serving 'register_apps' at https:\/\/localhost:5281\/register_apps\""
|
||||
assert_success
|
||||
assert_output
|
||||
}
|
||||
|
||||
@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