protected function FeedsTamperUIWebTestCase::setTamperPluginWeight in Feeds Tamper 7
Same name and namespace in other branches
- 8.2 legacy/feeds_tamper_ui/tests/feeds_tamper_ui.test \FeedsTamperUIWebTestCase::setTamperPluginWeight()
- 6 feeds_tamper_ui/tests/feeds_tamper_ui.test \FeedsTamperUIWebTestCase::setTamperPluginWeight()
Overrides FeedsTamperWebTestHelper::setTamperPluginWeight
1 call to FeedsTamperUIWebTestCase::setTamperPluginWeight()
- FeedsTamperUIWebTestCase::testBasic in feeds_tamper_ui/
tests/ feeds_tamper_ui.test
File
- feeds_tamper_ui/
tests/ feeds_tamper_ui.test, line 250 - Tests for feeds_tamper_ui.module.
Class
- FeedsTamperUIWebTestCase
- Test Feeds Tamper UI.
Code
protected function setTamperPluginWeight($importer_id, $delta, $id, $weight) {
$url = 'admin/structure/feeds/' . $importer_id . '/tamper';
$name = $delta . '[table][' . $id . '][weight]';
$this
->drupalPost($url, array(
$name => $weight,
), 'Save');
$this
->assertFieldByName($name, $weight);
$this
->assertText('Your changes have been saved.');
}