Révision 8e7483ab
Ajouté par Assos Assos il y a plus de 4 ans
drupal7/sites/all/modules/link/tests/link.crud.test | ||
---|---|---|
25 | 25 |
} |
26 | 26 |
|
27 | 27 |
/** |
28 |
* Setup.
|
|
28 |
* {@inheritdoc}
|
|
29 | 29 |
*/ |
30 |
public function setUp() { |
|
31 |
parent::setUp('field_ui', 'link'); |
|
30 |
public function setUp(array $modules = array()) { |
|
31 |
$modules[] = 'field_ui'; |
|
32 |
$modules[] = 'link'; |
|
33 |
parent::setUp($modules); |
|
32 | 34 |
} |
33 | 35 |
|
34 | 36 |
/** |
... | ... | |
36 | 38 |
* |
37 | 39 |
* All we're doing here is creating a content type, creating a simple link |
38 | 40 |
* field on that content type. |
39 |
* |
|
40 |
* @codingStandardsIgnoreStart |
|
41 | 41 |
*/ |
42 |
public function testLinkCreateFieldAPI() { |
|
43 |
// @codingStandardsIgnoreEnd |
|
42 |
public function testLinkCreateFieldApi() { |
|
44 | 43 |
$content_type_friendly = $this->randomName(20); |
45 | 44 |
$content_type_machine = strtolower($this->randomName(10)); |
46 | 45 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules