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-05-05 14:16:24 +01:00

26 lines
685 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_title("Extensions");
$this->get_page('ext_doc/ext_manager');
$this->assert_title("Documentation for Extension Manager");
$this->assert_text("view a list of all extensions");
# test author without email
$this->get_page('ext_doc/user');
$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
}
}
?>