Révision 8e7483ab
Ajouté par Assos Assos il y a plus de 4 ans
drupal7/sites/all/modules/link/tests/link.attribute.test | ||
---|---|---|
35 | 35 |
} |
36 | 36 |
|
37 | 37 |
/** |
38 |
* Setup.
|
|
38 |
* {@inheritdoc}
|
|
39 | 39 |
*/ |
40 |
public function setup() { |
|
41 |
parent::setup('field_ui', 'link'); |
|
40 |
public function setUp(array $modules = array()) { |
|
41 |
$modules[] = 'field_ui'; |
|
42 |
$modules[] = 'link'; |
|
43 |
parent::setUp($modules); |
|
44 |
|
|
42 | 45 |
$this->zebra = 0; |
46 |
|
|
43 | 47 |
// Create and login user. |
44 | 48 |
$this->web_user = $this->drupalCreateUser(array( |
45 | 49 |
'administer content types', |
... | ... | |
236 | 240 |
'@content_type_friendly' => $content_type_friendly, |
237 | 241 |
'@title' => $node_title, |
238 | 242 |
))); |
239 |
|
|
240 | 243 |
} |
241 | 244 |
|
242 | 245 |
/** |
... | ... | |
332 | 335 |
|
333 | 336 |
/** |
334 | 337 |
* Formatter URL. |
335 |
* |
|
336 |
* @codingStandardsIgnoreStart |
|
337 | 338 |
*/ |
338 |
public function testFormatterURL() { |
|
339 |
// @codingStandardsIgnoreEnd |
|
339 |
public function testFormatterUrl() { |
|
340 | 340 |
$content_type_friendly = $this->randomName(20); |
341 | 341 |
$content_type_machine = strtolower($this->randomName(10)); |
342 | 342 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules