forked from Cavemanon/cavepaintings
PSR-2. I'm not a huge fan, but ugly consistency beats no consistency...
This commit is contained in:
@@ -1,25 +1,27 @@
|
||||
<?php
|
||||
class ExtManagerTest extends ShimmiePHPUnitTestCase {
|
||||
public function testAuth() {
|
||||
$this->get_page('ext_manager');
|
||||
$this->assert_title("Extensions");
|
||||
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");
|
||||
$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");
|
||||
$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');
|
||||
# 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"); // FIXME: something which still exists
|
||||
$this->log_out();
|
||||
$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();
|
||||
|
||||
# FIXME: test that some extensions can be added and removed? :S
|
||||
}
|
||||
# FIXME: test that some extensions can be added and removed? :S
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user