summaryrefslogtreecommitdiff
path: root/modules/user/user.test
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-11-28 21:44:54 +0000
committerDries Buytaert <dries@buytaert.net>2009-11-28 21:44:54 +0000
commit19c4f88cad5670094730d68a3dfc729561c38d9d (patch)
tree6eaac3718551c52aa302fc1b06431dc6dfc7f0cf /modules/user/user.test
parent27875d3528798b18201716c0b01004f130998416 (diff)
downloadbrdo-19c4f88cad5670094730d68a3dfc729561c38d9d.tar.gz
brdo-19c4f88cad5670094730d68a3dfc729561c38d9d.tar.bz2
- Patch #645584 by eojthebrave: missing edit link on user administration page.
Diffstat (limited to 'modules/user/user.test')
-rw-r--r--modules/user/user.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/user/user.test b/modules/user/user.test
index 23ed393c6..47727f8a6 100644
--- a/modules/user/user.test
+++ b/modules/user/user.test
@@ -982,6 +982,10 @@ class UserAdminTestCase extends DrupalWebTestCase {
$this->assertText($user_c->name, t('Found user C on admin users page'));
$this->assertText($admin_user->name, t('Found Admin user on admin users page'));
+ // Test for existence of edit link in table.
+ $link = l(t('edit'), "user/$user_a->uid/edit", array('query' => array('destination' => 'admin/people')));
+ $this->assertRaw($link, t('Found user A edit link on admin users page'));
+
// Filter the users by permission 'administer taxonomy'.
$edit = array();
$edit['permission'] = 'administer taxonomy';