patched link module to allow more tld
https://www.drupal.org/node/2299657#comment-11414075 http://studio.g-u-i.net/en/materio/node/1524#comment-2488
This commit is contained in:
@@ -23,9 +23,11 @@ class LinkBaseTestClass extends DrupalWebTestCase {
|
||||
$modules[] = 'field_ui';
|
||||
$modules[] = 'link';
|
||||
parent::setUp($modules);
|
||||
|
||||
$this->web_user = $this->drupalCreateUser($this->permissions);
|
||||
$this->drupalLogin($this->web_user);
|
||||
|
||||
$perms = user_role_permissions(array(array_search('administrator', user_roles()) => 'administrator'));
|
||||
$perms = array_keys($perms[array_search('administrator', user_roles())]);
|
||||
$admin = $this->drupalCreateUser($perms);
|
||||
$this->drupalLogin($admin);
|
||||
}
|
||||
|
||||
protected function createLinkField($node_type = 'page', $settings = array()) {
|
||||
|
||||
Reference in New Issue
Block a user