| 1 |
<?php |
<?php |
| 2 |
// $Id: user.test,v 1.78 2010/01/29 13:50:14 dries Exp $ |
// $Id: user.test,v 1.79 2010/02/07 17:29:09 webchick Exp $ |
| 3 |
|
|
| 4 |
class UserRegistrationTestCase extends DrupalWebTestCase { |
class UserRegistrationTestCase extends DrupalWebTestCase { |
| 5 |
public static function getInfo() { |
public static function getInfo() { |
| 1214 |
$this->assertNoText(t('User login'), t('Logged in.')); |
$this->assertNoText(t('User login'), t('Logged in.')); |
| 1215 |
|
|
| 1216 |
// Check that we are still on the same page. |
// Check that we are still on the same page. |
| 1217 |
$this->assertPattern('!<title.*?' . t('Permissions') . '.*?</title>!', t('Still on the same page after login for access denied page')); |
$this->assertRaw('<a href="/admin/people/permissions" class="active">', t('Still on the same page after login for access denied page')); |
| 1218 |
|
|
| 1219 |
// Now, log out and repeat with a non-403 page. |
// Now, log out and repeat with a non-403 page. |
| 1220 |
$this->drupalLogout(); |
$this->drupalLogout(); |