forked from Cavemanon/cavepaintings
consistent naming for test functions
This commit is contained in:
@@ -2,19 +2,19 @@
|
||||
class SetupTest extends SCoreWebTestCase {
|
||||
function testAuth() {
|
||||
$this->get_page('setup');
|
||||
$this->assertResponse(403);
|
||||
$this->assertTitle("Permission Denied");
|
||||
$this->assert_response(403);
|
||||
$this->assert_title("Permission Denied");
|
||||
|
||||
$this->log_in_as_user();
|
||||
$this->get_page('setup');
|
||||
$this->assertResponse(403);
|
||||
$this->assertTitle("Permission Denied");
|
||||
$this->assert_response(403);
|
||||
$this->assert_title("Permission Denied");
|
||||
$this->log_out();
|
||||
|
||||
$this->log_in_as_admin();
|
||||
$this->get_page('setup');
|
||||
$this->assertTitle("Shimmie Setup");
|
||||
$this->assertText("General");
|
||||
$this->assert_title("Shimmie Setup");
|
||||
$this->assert_text("General");
|
||||
$this->log_out();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user