Revision 56aebcb7
Added by Assos Assos about 8 years ago
drupal7/sites/all/modules/entityreference/tests/entityreference.feeds.test | ||
---|---|---|
17 | 17 |
'name' => 'Feeds integration (field mapper)', |
18 | 18 |
'description' => 'Test Feeds Mapper support for fields.', |
19 | 19 |
'group' => 'Entity Reference', |
20 |
'dependencies' => array('feeds'), |
|
20 | 21 |
); |
21 | 22 |
} |
22 | 23 |
|
... | ... | |
28 | 29 |
module_enable(array('entityreference_feeds_test'), TRUE); |
29 | 30 |
$this->resetAll(); |
30 | 31 |
|
31 |
if (!module_exists('feeds')) { |
|
32 |
return; |
|
33 |
} |
|
34 |
|
|
35 | 32 |
$permissions[] = 'access content'; |
36 | 33 |
$permissions[] = 'administer site configuration'; |
37 | 34 |
$permissions[] = 'administer content types'; |
... | ... | |
157 | 154 |
* Basic test loading a double entry CSV file. |
158 | 155 |
*/ |
159 | 156 |
public function test() { |
160 |
if (!module_exists('feeds')) { |
|
161 |
return; |
|
162 |
} |
|
163 |
|
|
164 | 157 |
$this->drupalLogin($this->admin_user); |
165 | 158 |
$this->drupalGet('admin/structure/types/manage/article/fields'); |
166 | 159 |
$this->assertText('Ref - entity ID', t('Found Entity reference field %field.', array('%field' => 'field_er_id'))); |
Also available in: Unified diff
Weekly update of contrib modules