consistent naming for test functions

This commit is contained in:
Shish
2009-08-19 01:28:48 +01:00
parent 62afcfe38c
commit 1946e3c943
40 changed files with 325 additions and 325 deletions

View File

@@ -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();
}
}