public function FeedsWebTestCase::setSettings in Feeds 7.2
Same name and namespace in other branches
- 6 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.
122 calls to FeedsWebTestCase::setSettings()
- FeedsAccountSwitcherTest::setUp in tests/
FeedsAccountSwitcherTest.test - Sets up a Drupal site for running functional and integration tests.
- FeedsAccountSwitcherTest::testAuthorizedImport in tests/
FeedsAccountSwitcherTest.test - Tests if an extra account switch happens on authorized imports.
- FeedsAccountSwitcherTest::testRunImportAsFeedNodeAuthorOnCron in tests/
FeedsAccountSwitcherTest.test - Tests if the import is ran as the feed node author when using cron.
- FeedsContentTypeTest::testSwitchToAttachToContentType in tests/
feeds_content_type.test - Tests behavior when switching from standalone to attach to content type.
- FeedsContentTypeTest::testSwitchToStandaloneForm in tests/
feeds_content_type.test - Tests behavior when switching from attach to content type to standalone.
File
- tests/
feeds.test, line 242 - Common functionality for all Feeds tests.
Class
- FeedsWebTestCase
- Test basic Data API functionality.
Code
public function setSettings($id, $plugin, $settings) {
$this
->drupalPost('admin/structure/feeds/' . $id . '/settings/' . $plugin, $settings, 'Save');
$this
->assertText('Your changes have been saved.');
}