more ext manager tests

This commit is contained in:
Shish 2010-03-12 18:44:14 +00:00
parent 4422715278
commit 9a04bce8d1
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,9 @@ class ExtManagerTest extends SCoreWebTestCase {
$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");

View File

@ -51,6 +51,7 @@ class ExtManagerTheme extends Themelet {
$page->add_block(new Block("Extension Manager", $html));
}
/*
public function display_blocks(Page $page, $extensions) {
$n = 0;
$col_1 = "";
@ -105,6 +106,7 @@ class ExtManagerTheme extends Themelet {
$page->add_block(new NavBlock());
$page->add_block(new Block("Extension Manager", $html));
}
*/
public function display_doc(Page $page, ExtensionInfo $info) {
$author = "";