From 0271adf86ce081412ef3fab54334575610497b76 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 12 Feb 2015 18:50:27 -0200 Subject: [PATCH] Add test for mailman web UI --- test/mailman_test.sh | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/test/mailman_test.sh b/test/mailman_test.sh index 176a827..4712779 100644 --- a/test/mailman_test.sh +++ b/test/mailman_test.sh @@ -27,4 +27,9 @@ test_mailman_delivery() { assertEquals 'Message arrives at mailbox' "1" "$messages" } +test_mailman_web_interface() { + local title="$(curl --silent --fail --location --header 'Host: listas.softwarepublico.dev' http://$integration/ | grep -i '')" + assertEquals "<TITLE>listas.softwarepublico.dev Mailing Lists" "$title" +} + . shunit2 -- libgit2 0.21.2