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,18 +2,18 @@
class AdminPageTest extends ShimmieWebTestCase {
function testAuth() {
$this->get_page('admin');
$this->assertResponse(403);
$this->assertTitle("Permission Denied");
$this->assert_response(403);
$this->assert_title("Permission Denied");
$this->log_in_as_user();
$this->get_page('admin');
$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('admin');
$this->assertTitle("Admin Tools");
$this->assert_title("Admin Tools");
$this->log_out();
# FIXME: make sure the admin tools actually work