Commit 0271adf86ce081412ef3fab54334575610497b76
1 parent
034f07e8
Exists in
master
and in
90 other branches
Add test for mailman web UI
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
test/mailman_test.sh
... | ... | @@ -27,4 +27,9 @@ test_mailman_delivery() { |
27 | 27 | assertEquals 'Message arrives at mailbox' "1" "$messages" |
28 | 28 | } |
29 | 29 | |
30 | +test_mailman_web_interface() { | |
31 | + local title="$(curl --silent --fail --location --header 'Host: listas.softwarepublico.dev' http://$integration/ | grep -i '<title>')" | |
32 | + assertEquals "<TITLE>listas.softwarepublico.dev Mailing Lists</TITLE>" "$title" | |
33 | +} | |
34 | + | |
30 | 35 | . shunit2 | ... | ... |