public function FeedsUIUserInterfaceTestCase::testEditDisabledImporter in Feeds 7.2
UI functionality tests on disabled feeds.
File
- feeds_ui/
feeds_ui.test, line 34 - Tests for Feeds Admin UI module.
Class
- FeedsUIUserInterfaceTestCase
- Test basic Feeds UI functionality.
Code
public function testEditDisabledImporter() {
// Create an importer.
$this
->createImporterConfiguration('Test feed', 'test_feed');
// Disable the importer.
$edit = array(
'test_feed' => FALSE,
);
$this
->drupalPost('admin/structure/feeds', $edit, t('Save'));
// Try to edit the importer.
$this
->doEditFeedsConfiguration('Test feed', 'test_feed');
}