Révision ed9a13f1
Ajouté par Assos Assos il y a presque 4 ans
drupal7/sites/all/modules/feeds/tests/feeds_mapper_profile.test | ||
---|---|---|
10 | 10 |
*/ |
11 | 11 |
class FeedsMapperProfileTestCase extends FeedsMapperTestCase { |
12 | 12 |
|
13 |
/** |
|
14 |
* {@inheritdoc} |
|
15 |
*/ |
|
13 | 16 |
public static function getInfo() { |
14 | 17 |
return array( |
15 | 18 |
'name' => 'Mapper: Profile', |
... | ... | |
18 | 21 |
); |
19 | 22 |
} |
20 | 23 |
|
24 |
/** |
|
25 |
* {@inheritdoc} |
|
26 |
*/ |
|
21 | 27 |
public function setUp() { |
22 | 28 |
// Call parent setup with required modules. |
23 | 29 |
parent::setUp(array('profile')); |
... | ... | |
83 | 89 |
$this->drupalPost('admin/structure/feeds/profile_import/settings', $edit, 'Save'); |
84 | 90 |
|
85 | 91 |
// Import CSV file. |
86 |
$this->importFile('profile_import', $this->absolutePath() .'/tests/feeds/profile.csv'); |
|
92 |
$this->importFile('profile_import', $this->absolutePath() . '/tests/feeds/profile.csv');
|
|
87 | 93 |
$this->assertText('Created 2 users.'); |
88 | 94 |
|
89 | 95 |
// Check the two imported users. |
Formats disponibles : Unified diff
Weekly update of contrib modules