You are here

function MailhandlerTestCase::assertMailhandlerSettings in Mailhandler 6

1 call to MailhandlerTestCase::assertMailhandlerSettings()
MailhandlerTestCase::testMailhandlerSettings in ./mailhandler.test
Verify the functionality of the administrative interface when the user has no privileges to edit filter formats.

File

./mailhandler.test, line 277
Simpletest case for mailhandler module.

Class

MailhandlerTestCase
Functionality tests for mailhandler module.

Code

function assertMailhandlerSettings($settings) {
  $this
    ->assertfieldByName('mailhandler_default_type', $settings['mailhandler_default_type']);
  $this
    ->assertfieldByName('mailhandler_max_retrieval', $settings['mailhandler_max_retrieval']);
  $this
    ->assertfieldByName('mailhandler_default_encoding', $settings['mailhandler_default_encoding']);
  $this
    ->assertfieldByName('mailhandler_watchdog_level', $settings['mailhandler_watchdog_level']);
}