<?php
class AdminPageTest extends ShimmieWebTestCase {
function testAuth() {
$this->get_page('admin');
$this->assert_response(403);
$this->assert_title("Permission Denied");
$this->log_in_as_user();
$this->log_out();
$this->log_in_as_admin();
$this->assert_title("Admin Tools");
$this->set_field("action", "purge unused tags");
$this->click("Go");
# FIXME: make sure the admin tools actually work
}
?>