public function MailhandlerTestCase::createMapping in Mailhandler 6.2
Same name and namespace in other branches
- 7.2 tests/mailhandler.test \MailhandlerTestCase::createMapping()
1 call to MailhandlerTestCase::createMapping()
File
- tests/
mailhandler.test, line 74 - Tests for Mailhandler modules.
Class
- MailhandlerTestCase
- @file Tests for Mailhandler modules.
Code
public function createMapping($source, $target) {
$edit = array();
$edit['source'] = $source;
$edit['target'] = $target;
$this
->drupalPost(MAILHANDLER_MENU_PREFIX . '/feeds/edit/mailhandler_nodes/mapping', $edit, t('Add'));
}