diff options
Diffstat (limited to 'modules/path/path.test')
-rw-r--r-- | modules/path/path.test | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/path/path.test b/modules/path/path.test index 18e2b6939..13b46313e 100644 --- a/modules/path/path.test +++ b/modules/path/path.test @@ -15,8 +15,9 @@ class PathTestCase extends DrupalWebTestCase { */ function setUp() { parent::setUp('path'); - // create and login user - $web_user = $this->drupalCreateUser(array('edit any page content', 'create page content', 'administer url aliases', 'create url aliases')); + + // Create test user and login. + $web_user = $this->drupalCreateUser(array('create page content', 'edit own page content', 'administer url aliases', 'create url aliases')); $this->drupalLogin($web_user); } @@ -24,7 +25,7 @@ class PathTestCase extends DrupalWebTestCase { * Test alias functionality through the admin interfaces. */ function testAdminAlias() { - // create test node + // Create test node. $node1 = $this->drupalCreateNode(); // Create alias. |