fix this test
This commit is contained in:
parent
44e3abe16e
commit
9aa54af90a
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user