Skip to content
Snippets Groups Projects
Commit 1160db98 authored by megachriz's avatar megachriz Committed by MegaChriz
Browse files

Issue #2574789 by MegaChriz: Wrong processor settings set in...

Issue #2574789 by MegaChriz: Wrong processor settings set in FeedsUIUserInterfaceTestCase::testImporterImport()
parent 7453f0a2
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ class FeedsUIUserInterfaceTestCase extends FeedsWebTestCase {
$this->createImporterConfiguration($name, $id);
$this->setPlugin($id, 'FeedsCSVParser');
$this->setPlugin($id, 'FeedsFileFetcher');
$this->setPlugin($id, 'FeedsTermProcessor');
$this->setPlugin($id, 'FeedsUserProcessor');
$this->setSettings($id, 'FeedsFileFetcher', array('allowed_extensions' => 'xml'));
$this->setSettings($id, 'FeedsCSVParser', array('delimiter' => '|'));
......@@ -145,7 +145,7 @@ class FeedsUIUserInterfaceTestCase extends FeedsWebTestCase {
$importer = feeds_importer($id);
$this->assertEqual('FeedsFileFetcher', get_class($importer->fetcher));
$this->assertEqual('FeedsCSVParser', get_class($importer->parser));
$this->assertEqual('FeedsTermProcessor', get_class($importer->processor));
$this->assertEqual('FeedsUserProcessor', get_class($importer->processor));
$config = $importer->fetcher->getConfig();
$this->assertEqual('xml', $config['allowed_extensions']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment