Révision a192dc0b
Ajouté par Assos Assos il y a environ 8 ans
drupal7/sites/all/modules/feeds/feeds_ui/feeds_ui.test | ||
---|---|---|
122 | 122 |
$this->createImporterConfiguration($name, $id); |
123 | 123 |
$this->setPlugin($id, 'FeedsCSVParser'); |
124 | 124 |
$this->setPlugin($id, 'FeedsFileFetcher'); |
125 |
$this->setPlugin($id, 'FeedsTermProcessor');
|
|
125 |
$this->setPlugin($id, 'FeedsUserProcessor');
|
|
126 | 126 |
|
127 | 127 |
$this->setSettings($id, 'FeedsFileFetcher', array('allowed_extensions' => 'xml')); |
128 | 128 |
$this->setSettings($id, 'FeedsCSVParser', array('delimiter' => '|')); |
... | ... | |
145 | 145 |
$importer = feeds_importer($id); |
146 | 146 |
$this->assertEqual('FeedsFileFetcher', get_class($importer->fetcher)); |
147 | 147 |
$this->assertEqual('FeedsCSVParser', get_class($importer->parser)); |
148 |
$this->assertEqual('FeedsTermProcessor', get_class($importer->processor));
|
|
148 |
$this->assertEqual('FeedsUserProcessor', get_class($importer->processor));
|
|
149 | 149 |
|
150 | 150 |
$config = $importer->fetcher->getConfig(); |
151 | 151 |
$this->assertEqual('xml', $config['allowed_extensions']); |
Formats disponibles : Unified diff
Weekly update of contrib modules