Revision 76bdcd04
Added by Assos Assos almost 6 years ago
drupal7/sites/all/modules/webform/tests/WebformPermissionsTestCase.test | ||
---|---|---|
38 | 38 |
// The anonymous user should not be able to submit. |
39 | 39 |
$this->drupalGet('node/' . $node->nid); |
40 | 40 |
|
41 |
// Note: Should be: You must <a href="!login">login</a> or <a href="!register">register</a> to view this form. |
|
42 |
// Something in SimpleTest isn't handling the string correctly. |
|
41 |
// Note: Should be: You must <a href="!login">login</a> or |
|
42 |
// <a href="!register">register</a> to view this form. Something in |
|
43 |
// SimpleTest isn't handling the string correctly. |
|
43 | 44 |
$this->assertText('to view this form.', t('Anonymous user is not allowed to submit form.'), t('Webform')); |
44 | 45 |
} |
45 | 46 |
|
Also available in: Unified diff
Weekly update of contrib modules