fix this test

This commit is contained in:
Shish 2009-08-13 19:01:23 +01:00
parent 44e3abe16e
commit 9aa54af90a

View File

@ -16,14 +16,14 @@ class UserPageTest extends SCoreWebTestCase {
// should be on the user page // should be on the user page
$this->assertTitle(USER_NAME+"'s Page"); $this->assertTitle(USER_NAME+"'s Page");
$this->assertText("Options"); $this->assertText("Options");
$this->assertNoText("More Options"); $this->assertNoText("Admin:");
$this->log_out(); $this->log_out();
$this->log_in_as_admin(); $this->log_in_as_admin();
// should be on the user page // should be on the user page
$this->assertTitle(ADMIN_NAME+"'s Page"); $this->assertTitle(ADMIN_NAME+"'s Page");
$this->assertText("Options"); $this->assertText("Options");
$this->assertText("More Options"); $this->assertText("Admin:");
$this->log_out(); $this->log_out();
# FIXME: test user creation # FIXME: test user creation