This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/ext/ext_manager/test.php
2010-02-27 02:41:52 +00:00

23 lines
613 B
PHP

<?php
class ExtManagerTest extends SCoreWebTestCase {
function testAuth() {
$this->get_page('ext_manager');
$this->assert_title("Extensions");
$this->get_page('ext_doc');
$this->assert_response(404);
$this->get_page('ext_doc/ext_manager');
$this->assert_title("Documentation for Extension Manager");
$this->assert_text("view a list of all extensions");
$this->log_in_as_admin();
$this->get_page('ext_manager');
$this->assert_title("Extensions");
$this->assert_text("SimpleTest integration");
$this->log_out();
# FIXME: test that some extensions can be added and removed? :S
}
}
?>