28 lines
836 B
PHP
Raw Normal View History

<?php
class ExtManagerTest extends ShimmiePHPUnitTestCase
{
public function testAuth()
{
$this->get_page('ext_manager');
$this->assert_title("Extensions");
$this->get_page('ext_doc');
$this->assert_title("Extensions");
2010-02-27 02:41:10 +00:00
$this->get_page('ext_doc/ext_manager');
$this->assert_title("Documentation for Extension Manager");
$this->assert_text("view a list of all extensions");
2010-02-27 02:41:10 +00:00
# test author without email
$this->get_page('ext_doc/user');
2010-03-12 18:44:14 +00:00
$this->log_in_as_admin();
$this->get_page('ext_manager');
$this->assert_title("Extensions");
//$this->assert_text("SimpleTest integration"); // FIXME: something which still exists
$this->log_out();
2009-07-20 06:51:36 +01:00
# FIXME: test that some extensions can be added and removed? :S
}
}