public function FeedsWebTestCase::setSettings in Feeds 6
Same name and namespace in other branches
- 7.2 tests/feeds.test \FeedsWebTestCase::setSettings()
- 7 tests/feeds.test.inc \FeedsWebTestCase::setSettings()
Set importer or plugin settings.
Parameters
$id: The importer configuration's id.
$plugin: The plugin (class) name, or NULL to set importer's settings
$settings: The settings to set.
13 calls to FeedsWebTestCase::setSettings()
- FeedsCSVtoUsersTest::test in tests/
feeds_processor_user.test - Test node creation, refreshing/deleting feeds and feed items.
- FeedsMapperContentTaxonomyTestCase::test in tests/
feeds_mapper_content_taxonomy.test - Basic test loading a single entry CSV file.
- FeedsMapperContentTestCase::test in tests/
feeds_mapper_content.test - Basic test loading a doulbe entry CSV file.
- FeedsMapperDateTestCase::test in tests/
feeds_mapper_date.test - Basic test loading a single entry CSV file.
- FeedsMapperEmailTestCase::test in tests/
feeds_mapper_email.test - Basic test loading a doulbe entry CSV file.
File
- tests/
feeds.test, line 170 - Common functionality for all Feeds tests.
Class
- FeedsWebTestCase
- Test basic Data API functionality.
Code
public function setSettings($id, $plugin, $settings) {
$this
->drupalPost('admin/build/feeds/edit/' . $id . '/settings/' . $plugin, $settings, 'Save');
$this
->assertText('Your changes have been saved.');
}