From 4aed18ebf69901f4aa4e8abab657fe42d41ffa92 Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Wed, 28 May 2003 00:22:43 +0000 Subject: [PATCH] added a test to verify that the intermap can only be created by administrators --- test-markup.pl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test-markup.pl b/test-markup.pl index baa9d004..23fa5fd9 100755 --- a/test-markup.pl +++ b/test-markup.pl @@ -167,6 +167,14 @@ EOT test_page(get_page('action=rc'), @Test); +## Attempt to create InterMap page as normal user + +@Test = split('\n',<<'EOT'); +Describe the new page here +EOT + +test_page(update_page('InterMap', " OddMuse http://www.emacswiki.org/cgi-bin/oddmuse.pl?\n", 'required'), @Test); + ## Create InterMap page as admin @Test = split('\n',<<'EOT');