added a test to verify that the intermap can only be created by administrators

This commit is contained in:
Alex Schroeder
2003-05-28 00:22:43 +00:00
parent 2441a333fa
commit 4aed18ebf6

View File

@@ -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');